Package: mr
Version: 0.21
Severity: important

Hi

As subject says, it dies, telling me
"cat: .bzr/branch/parent: File not found"

Changing it to use bzr info command makes it work, diff below.

--- mr.orig     2008-02-03 22:14:51.435050674 +0100
+++ mr  2008-02-03 22:14:21.591050623 +0100
@@ -1243,7 +1243,7 @@
        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=`bzr info . | grep -i 'parent branch' | awk '{print $NF}'`
        if [ -z "$url" ]; then
                error "cannot determine bzr url"
        fi


-- 
bye Joerg
<dilinger> i just managed to procrastinate an extra 30 mins by reading
                   an article on how not to procrastinate



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to