Package: mr
Version: 0.7
Severity: normal
Tags: patch

The patch I sent in for Darcs support ran darcs in its default
interactive mode, which doesn't work well with -j (sorry!). The attached patch
changes it to use darcs pull -a, which is noninteractive (and also
matches the behaviour of the other SCMs better).

The patch also changes darcs commit (and darcs push) to use the -a option,
again to be noninteractive and match the behaviour of the other supported SCMs.

    Simon

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information
--- /usr/bin/mr	2007-10-23 17:44:51.000000000 +0100
+++ /home/smcv/bin/mr	2007-10-25 10:09:43.000000000 +0100
@@ -971,7 +971,7 @@
 	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
@@ -1003,7 +1003,7 @@
 	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

Attachment: signature.asc
Description: Digital signature

Reply via email to