On 11284 March 1977, Joey Hess wrote:

>> 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

> That doesn't work in all cases either..
> I made this checkout with bzr 1.1~rc1-1:

Thats what I used, but not checkout, i used clone.

> [EMAIL PROTECTED]:~/tmp/ftpmaster-dak>bzr info . 
> Checkout (format: pack-0.92)
> Location:
>        checkout root: .
>   checkout of branch: http://ftp-master.debian.org/bzr/ftpmaster-dak/

> Guess it needs to use
> bzr info . | egrep -i 'checkout of branch|parent branch' | awk '{print $NF}'

Sounds like it.

-- 
bye Joerg
> Thats all.
> Just a few questions about your package and then we got it and you will
> be in DAMINATION :).
I have no idea what DAMINATION is but it sounds cool. Let's get going.



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

Reply via email to