]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add "mr run", which can run an arbitrary command in each repository.
authorJoey Hess <joey@kitenet.net>
Thu, 20 Jan 2011 20:48:24 +0000 (16:48 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 20 Jan 2011 20:48:24 +0000 (16:48 -0400)
debian/changelog
mr

index ee25f413a50341809de14486ec405a1da250bbb7..d19a299b8042db620309759d95bd0547b7feb2b4 100644 (file)
@@ -1,3 +1,9 @@
+mr (1.01) UNRELEASED; urgency=low
+
+  * Add "mr run", which can run an arbitrary command in each repository.
+
+ -- Joey Hess <joeyh@debian.org>  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
 mr (1.00) unstable; urgency=low
 
   * Trust flag day. All mrconfig files except the main ~/.mrconfig are
diff --git a/mr b/mr
index 3f04b5b95041eb9b4e8d24458c64cdb2b45d1a3d..48c355c54a7690ef49b414136270cc05bd70858c 100755 (executable)
--- a/mr
+++ b/mr
@@ -22,6 +22,8 @@ B<mr> [options] diff
 
 B<mr> [options] log
 
 
 B<mr> [options] log
 
+B<mr> [options] run command [param ...]
+
 B<mr> [options] bootstrap url [directory]
 
 B<mr> [options] register [repository]
 B<mr> [options] bootstrap url [directory]
 
 B<mr> [options] register [repository]
@@ -102,6 +104,10 @@ Show a diff of uncommitted changes.
 
 Show the commit log.
 
 
 Show the commit log.
 
+=item run command [param ...]
+
+Runs the specified command in each repository.
+
 =back
 
 These commands are also available:
 =back
 
 These commands are also available:
@@ -1688,6 +1694,8 @@ darcs_log = darcs changes "$@"
 git_bare_log = git log "$@"
 fossil_log = fossil timeline "$@"
 
 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
 svn_register =
        url=`LC_ALL=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2`
        if [ -z "$url" ]; then