[darcs-devel] [issue1403] --match's not is buggy
gwern
bugs at darcs.net
Mon Mar 23 02:33:36 UTC 2009
New submission from gwern <gwern0 at gmail.com>:
[10:29 PM] 42.3Mb$ darcs --version
2.2.0 (release)
Suppose one makes a fresh repo, and tries to pull from xmonad. One's command is
'darcs pull ~/bin/xmonad --match 'not touch TODO' --dry-run|less'. In theory,
this should exclude any patch that modifies the xmonad TODO file. The syntax is
proper, all is in accordance with the manual, and 'touch TODO' will in fact pull
a (large) subset of the xmonad patches. If we actually run the command, we
quickly see that many todo-related patches are being pulled; eg:
Wed Mar 7 01:42:14 EST 2007 Spencer Janssen <sjanssen at cse.unl.edu>
* Add TODO
Suppose we actually do this pull, and then we do a simple pull. Perhaps we
really did pull a subset of patches. But no:
10:31 PM] 0Mb$ darcs pull ~/bin/xmonad
Pulling from "/home/gwern/bin/xmonad"...
No remote changes to pull in!
By tossing in a not, apparently that's the same thing as no --match at all.
Since one would expect 'not touch file' to exclude all patches
adding/modifying/deleting a file (like a large binary...), this seems to me a bug.
----------
messages: 7495
nosy: dmitry.kurochkin, gwern, kowey, simon, thorkilnaur
status: unread
title: --match's not is buggy
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1403>
__________________________________
More information about the darcs-devel
mailing list