How to set append_revisions_only configuration option for branches in Launchpad?

Alexander Belchenko bialix at ukr.net
Thu Sep 4 11:37:04 BST 2008


John Arbash Meinel пишет:
> Alexander Belchenko wrote:
>> John Arbash Meinel пишет:
>>> Alexander Belchenko wrote:
>>>> How to set append_revisions_only configuration option for branches in
>>>> Launchpad?
>>> The other way to do it is to use sftp and do:
>>>
>>> sftp bazaar.launchpad.net
>>>> cd ~user/project/branch/.bzr/branch
>>>> get branch.conf
>>> # outside of sftp, edit the file to add
>>> append_revisions_only = True
>>>> put branch.conf
>>> Both are not very nice, it is just a feature that hasn't been fully
>>> fleshed
>>> out yet.
>> Yes, it's not very nice, because laucnhpad does not implement listdir, so
>> GUI SFTP clients don't work. Unfortunately your recipe does not work for me
>> with Putty's sftp client:
>>
>> C:\Utils\PuTTY>psftp.exe bialix at bazaar.launchpad.net
>> Using username "bialix".
>> Remote working directory is /
>> psftp> cd ~qbzr-dev/qbzr/trunk/.bzr/branch
>> Directory /%7Eqbzr-dev/qbzr/trunk/.bzr/branch: no such file or directory
>> psftp> get branch.conf
>> /branch.conf: no such file or directory
>>
>> What I'm doing wrong?
> 
> It seems that they don't allow "CD". So I was able to do:
> 
> sftp bazaar.launchpad.net
>> get ~bzr/bzr/trunk/.bzr/branch/format
> 
> but I was not able to do any form of
>> cd ~bzr
>> cd ~bzr/bzr/trunk
>> cd ~bzr/bzr/trunk/.bzr/branch/
> 
> So it seems the correct way is:
>> get ~qbzr-dev/qbzr/trunk/.bzr/branch/branch.conf
> #edit
>> put format ~qbzr-dev/qbzr/trunk/.bzr/branch/branch.conf

This does not work for me with psftp.exe (Putty SFTP).

C:\Utils\PuTTY>psftp.exe bialix at bazaar.launchpad.net
Using username "bialix".
Remote working directory is /
psftp> get ~qbzr-dev/qbzr/trunk/.bzr/branch/branch.conf
remote:/%7Eqbzr-dev/qbzr/trunk/.bzr/branch/branch.conf => local:branch.conf
error while reading: no such file or directory
psftp> get ~qbzr-dev/qbzr/trunk/.bzr/branch/format
remote:/%7Eqbzr-dev/qbzr/trunk/.bzr/branch/format => local:format
error while reading: no such file or directory

I created new branch.conf and do put operation, and it seems to succeed,
but I can't get it back, because the same error happens again. Boom. I doomed.
I'm even not sure put works correctly.




More information about the bazaar mailing list