[darcs-devel] [issue180] add darcs dist --manifest to solve Catch 22

Zachary P. Landau kapheine at divineinvasion.net
Thu May 25 12:29:32 PDT 2006


> This doesn't work, because the _darcs directory is not present at
> predist time:
> 
>  darcs setpref predist "darcs query manifest>MANIFEST" 
> 
> Since I can't think of a good workaround, I request the following:
> 
>  darcs dist --manifest=FILE Adds current manifest to FILE, defaulting to the name MANIFEST  

One possible way to get around this is for $REPOSITORY to be set for the
predist command.  You could then have 'darcs setpref predist "darcs
--repodir=$REPOSITORY query manifest>MANIFEST"'

I came across a similar situation but I wanted 'changes' to run.  And
I'd hate to have a --manifest, --changes, --this-and-that.  Plus, you
can't pass in any extra parameters to the commands.

Note that 'query' does not seem to support --repodir, but it probably
should.

--
Zachary P. Landau <kapheine at divineinvasion.net>
GPG: gpg --recv-key 0xC9F82052 | http://divineinvasion.net/kapheine.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20060525/1db976f6/attachment.pgp


More information about the darcs-devel mailing list