]> git.madduck.net Git - code/myrepos.git/blobdiff - mr

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:

* Patch from Simon McVittie, to pass -a to darcs commands to avoid
[code/myrepos.git] / mr
diff --git a/mr b/mr
index 3dbd7e974dc173573539722f09ee0ad8d2b98ddd..1253102e5e05f6d71f15dd0eb14ab19341ac9b52 100755 (executable)
--- a/mr
+++ b/mr
@@ -973,7 +973,7 @@ update =
        elif [ -d "$MR_REPO"/.hg ]; then
                hg pull "$@" && hg update "$@"
        elif [ -d "$MR_REPO"/_darcs ]; then
-               darcs pull "$@"
+               darcs pull -a "$@"
        else
                error "unknown repo type"
        fi
@@ -1005,7 +1005,7 @@ commit =
        elif [ -d "$MR_REPO"/.hg ]; then
                hg commit -m "$@" && hg push
        elif [ -d "$MR_REPO"/_darcs ]; then
-               darcs commit -m "$@" && darcs push
+               darcs commit -a -m "$@" && darcs push -a
        else
                error "unknown repo type"
        fi