[darcs-users] darcs patch: add tests for issue1139. (and 1 more)
droundy at darcs.net
Sat Oct 11 16:56:59 UTC 2008
This is an alternative to Dmitry's fix for issue 1139 (together with a
test). My fix is more code, but preserves the idea of keeping a separate
case for when we're diffing the entire repository (as opposed to just some
of the files or directories). I think this is a valuable optimization, but
am hoping for comments, as Dmitry's code is more compact.
David (who broke this in the first place)
Sat Oct 11 11:53:24 EDT 2008 David Roundy <droundy at darcs.net>
* add tests for issue1139.
Sat Oct 11 12:10:59 EDT 2008 David Roundy <droundy at darcs.net>
* resolve issue1139: make special cases handle no arguments gracefully.
I accidentally broke this when refactoring Darcs.Match. This change
restores some efficiency when no arguments are given and thus we are
creating copies of all the files in the repository.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 86052 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081011/e02e06c3/attachment-0001.bin
More information about the darcs-users