[darcs-devel] [darcs #379] "darcs record thedeletedfile" fails

David Roundy droundy at abridgegame.org
Mon May 9 04:03:26 PDT 2005


On Mon, May 09, 2005 at 06:22:51AM -0400, Zooko via RT wrote:
> If you remove a file and then run 'darcs record thedeletedfile', it exits
> with -- "darcs failed: None of the files you specified exist!"
> 
> However, if you instead run 'darcs record', it works.
> 
> This is screwing up tailor.py, which has some nice code that makes a list
> of all files added, changed, moved, or deleted and then runs 'darcs
> record thatlistoffiles'.
> 
> I suggest that the "check if the files exist" could be removed entirely,
> since darcs fails in a safe and friendly way if you specify a null
> change.

I'm not sure, but I don't think the solution is that simple.  The scheme
darcs uses to keep track of the names of the files you specify (in case
they were renamed) might cause 'darcs record thedeletedfile' to exit with
"No changes!".  Someone will need to look into this.
-- 
David Roundy
http://www.darcs.net




More information about the darcs-devel mailing list