From a33fafdabb2ba491a412616aa169404cee56fa05 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 20 Jan 2011 16:48:24 -0400 Subject: [PATCH 1/1] Add "mr run", which can run an arbitrary command in each repository. --- debian/changelog | 6 ++++++ mr | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/debian/changelog b/debian/changelog index ee25f41..d19a299 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mr (1.01) UNRELEASED; urgency=low + + * Add "mr run", which can run an arbitrary command in each repository. + + -- Joey Hess Thu, 20 Jan 2011 16:47:37 -0400 + mr (1.00) unstable; urgency=low * Trust flag day. All mrconfig files except the main ~/.mrconfig are diff --git a/mr b/mr index 3f04b5b..48c355c 100755 --- a/mr +++ b/mr @@ -22,6 +22,8 @@ B [options] diff B [options] log +B [options] run command [param ...] + B [options] bootstrap url [directory] B [options] register [repository] @@ -102,6 +104,10 @@ Show a diff of uncommitted changes. Show the commit log. +=item run command [param ...] + +Runs the specified command in each repository. + =back These commands are also available: @@ -1688,6 +1694,8 @@ darcs_log = darcs changes "$@" git_bare_log = git log "$@" fossil_log = fossil timeline "$@" +run = "$@" + svn_register = url=`LC_ALL=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2` if [ -z "$url" ]; then -- 2.39.5