Commit Graph

11 Commits

Author SHA1 Message Date
Matt Mackall
8f44013035 test-grep: use lowercase hg command 2007-08-15 15:30:33 -05:00
Patrick Mezard
04cf5bb0f5 test-grep: test issue 685 2007-08-15 16:18:40 +02:00
Giorgos Keramidas
827573f6ad hg grep: handle re.compile errors & update tests/test-grep 2007-07-09 17:41:14 +03:00
Benoit Boissinot
e55b0be33e grep: remove count handling, simplify, fix issue337 2006-12-22 22:51:39 +01:00
Benoit Boissinot
0c9cf6b950 grep: incrementing is always False during 'iter' 2006-12-22 22:16:05 +01:00
Brendan Cully
3d708cb539 grep: add --follow support. 2006-08-12 15:01:46 -07:00
Brendan Cully
3b28d277f1 grep: display correct user/revision for --all in reverse.
Also handle multiple occurrences of the same line by storing
linestates in an array instead of a dict, and using difflib
to compute the difference between linestates.
2006-08-12 13:51:14 -07:00
Benoit Boissinot
26608667da use posix compliant option for head
head -N is not posix compliant, head -n N should be used instead
2005-11-13 16:25:45 +01:00
mpm@selenic.com
8989165f6e Change grep -e to grep --all
We want to reserve -e for future use and grep compatibility.

I've changed every-match to all out of a general preference for
shorter long option names where short options don't exist.
2005-09-07 20:50:23 -07:00
Thomas Arendsen Hein
3d0a115c0f Added FIXME output to test-grep so the test will not fail. 2005-08-30 19:32:11 +02:00
bos@serpentine.internal.keyresearch.com
d630ed8e52 grep: extend functionality, add man page entry, add unit test.
walkchangerevs now returns a two-tuple.  Its behaviour is also
extensively commented.
The annotate command's getname function has been factored out to a new
function, trimname, so it can be shared between annotate and grep.
The behaviour of grep has been beefed up, so that it now performs a
number of useful functions.
2005-08-29 10:05:49 -07:00