From b85440e085ae428666f063f7edd781251a676267 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 16 Aug 2012 23:10:13 -0700 Subject: [PATCH] Add grep subcommand. Uses ack-grep on VCS that do not have their own. Closes: #685122 --- debian/changelog | 2 ++ mr | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 68fc1cd..ab5e971 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ mr (1.13) UNRELEASED; urgency=low * Pass -q to cvs diff and update. Closes: #673367 * mr bootstrap: Now supports ssh:// urls. * Simpler vcsh status command line. Closes: #685089 + * Add grep subcommand. Uses ack-grep on VCS that do not have their own. + Closes: #685122 -- Joey Hess Fri, 18 May 2012 12:27:45 -0400 diff --git a/mr b/mr index 2876fbe..f615699 100755 --- a/mr +++ b/mr @@ -1975,6 +1975,13 @@ fossil_log = fossil timeline "$@" vcsh_log = vcsh run "$MR_REPO" git log "$@" veracity_log = vv log "$@" +hg_grep = hg grep "$@" +cvs_grep = ack-grep "$@" +svn_grep = ack-grep "$@" +git_svn_grep = git grep "$@" +git_grep = git grep "$@" +bzr_grep = ack-grep "$@" + run = "$@" svn_register = -- 2.39.2