From a2b2ee1876593afb1235652397d2194ef704e3b5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 3 Feb 2008 17:04:58 -0500 Subject: [PATCH] * Update bzr registration code to work with current version of bzr, using bzr info to get the url. Closes: #463867 --- debian/changelog | 7 +++++++ mr | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 92586f5..250b33c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mr (0.22) UNRELEASED; urgency=low + + * Update bzr registration code to work with current version of bzr, + using bzr info to get the url. Closes: #463867 + + -- Joey Hess Sun, 03 Feb 2008 17:04:30 -0500 + mr (0.21) unstable; urgency=low * Add a git-svn file, which can be included to add support for git-svn diff --git a/mr b/mr index 33bde35..87618a2 100755 --- a/mr +++ b/mr @@ -1243,7 +1243,7 @@ git_register = echo "Registering git url: $url in $MR_CONFIG" mr -c "$MR_CONFIG" config "`pwd`" checkout="git clone '$url' '$MR_REPO'" bzr_register = - url=`cat .bzr/branch/parent` + url="`LC_ALL=C bzr info . | egrep -i 'checkout of branch|parent branch' | awk '{print $NF}'`" if [ -z "$url" ]; then error "cannot determine bzr url" fi -- 2.39.2