From: Joey Hess Date: Thu, 25 Oct 2007 10:22:32 +0000 (-0400) Subject: * Patch from Simon McVittie, to pass -a to darcs commands to avoid X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/d11b6a1b817dbbd24774f158de8e4351b82bfae0 * Patch from Simon McVittie, to pass -a to darcs commands to avoid interactive updates. Closes: #447999 --- diff --git a/debian/changelog b/debian/changelog index f45e80c..2a4a3fa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ mr (0.8) UNRELEASED; urgency=low * Improve "in subdir" message. + * Patch from Simon McVittie, to pass -a to darcs commands to avoid + interactive updates. Closes: #447999 - -- Joey Hess Wed, 24 Oct 2007 18:17:45 -0400 + -- Joey Hess Thu, 25 Oct 2007 06:21:56 -0400 mr (0.7) unstable; urgency=low diff --git a/mr b/mr index 3dbd7e9..1253102 100755 --- 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