X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/7f35eb50a173685b36d65a3f66aaeebf60a09342..353f63c968368edea9b14261f510c34ce4e0c97f:/mr?ds=inline diff --git a/mr b/mr index 6fc5d57..556366c 100755 --- a/mr +++ b/mr @@ -1983,7 +1983,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="`LC_ALL=C bzr info . | egrep -i 'checkout of branch|parent branch' | awk '{print $NF}'`" + url="`LC_ALL=C bzr info . | egrep -i 'checkout of branch|parent branch' | awk '{print $NF}' | head -n 1`" if [ -z "$url" ]; then error "cannot determine bzr url" fi