X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/5005b07da4ab98791af3b27d66ea18917d5dc901..a2b2ee1876593afb1235652397d2194ef704e3b5:/mr?ds=sidebyside 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