[darcs-devel] Re: darcs patch: automatically add parent directories
for darcs add
Benedikt Schmidt
s_bschmi at ira.uka.de
Sat Feb 5 12:47:37 PST 2005
[ resent to darcs-devel since i wasn't subscribed (i use gmane
to read the list) ]
Am Samstag, den 05.02.2005, 07:32 -0500 schrieb David Roundy:
[ .. ]
> Thanks again. If you could submit an improved patch, that would be great.
> I've already applied your patch, but in particular, the efficiency thing of
> no looking for parents of children on recursive adds is important. The
> code clarity issues are less so.
I'm going to add these improvements, but just noticed another thing,
the new version doesn't handle:
$ darcs add a/file a/
The following directory is already in the repository;
note that to ensure portability we don't allow
files that differ only in case:
a
the old version failed with another message:
$ darcs add a/file a/
Skipping 'a/file' ... parent directory 'a/' isn't in the repo.
Do you think the filelist should be sorted before being passed
to addp.
--
Benedikt
More information about the darcs-devel
mailing list