]> 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:

bzr record --local for checkout
authorJoey Hess <joey@kitenet.net>
Tue, 27 Sep 2011 22:02:50 +0000 (18:02 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 27 Sep 2011 22:02:50 +0000 (18:02 -0400)
mr

diff --git a/mr b/mr
index abfa2e5187ec8d0512a6b612f0d7184cc5ecef89..340489cd2a745189d27385e12f512b734dd43d9f 100755 (executable)
--- a/mr
+++ b/mr
@@ -1739,7 +1739,12 @@ darcs_commit = darcs record -a -m "$@" && darcs push -a
 fossil_commit = fossil commit "$@"
 
 git_record = git commit -a "$@"
-bzr_record = bzr commit "$@"
+bzr_record =
+       if is_bzr_checkout; then
+               bzr commit --local "$@"
+       else
+               bzr commit "$@"
+       fi
 hg_record  = hg commit -m "$@"
 darcs_record = darcs record -a -m "$@"
 fossil_record = fossil commit "$@"