[darcs-devel] [issue1725] whatsnew -l should not recurse into directories not tracked

Petr Ročkai bugs at darcs.net
Sat Oct 30 09:15:35 UTC 2010


Petr Ročkai <me at mornfall.net> added the comment:

Well, this is by far not as black&white as you paint it. The -l (--look-for-
adds) option exists for record as well, not just whatsnew. So your change 
either means that we forego consistency and make it behave differently for 
record than for whatsnew (this is not ProbablyEasy, as it requires possibly 
deep changes in the code to add an extra diffing option). Alternatively, it 
would mean that darcs rec -l does not see files that aren't directly located 
in a directory already version-controlled. This is however sub-optimal: 
historically, people expect this to "just work" -- if they add a directory 
and some files and run darcs rec -l, they expect to see everything that's new 
in the repo. This would stop working and they would need to do as many rounds 
of amend --look as they have unadded directory levels, or do adds manually, 
defeating the purpose of --look.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1725>
__________________________________


More information about the darcs-devel mailing list