How to set append_revisions_only configuration option for branches in Launchpad?

John Arbash Meinel john at arbash-meinel.com
Thu Sep 4 22:24:04 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> 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.

It works from cygwin's openssh and sftp implementation. However I can't
do the "put branch.conf ~qbzr-dev/qbzr/trunk/.bzr/branch/branch.conf"
for you, because I'm not allowed to write to the ~qbzr-dev branches.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjAUfQACgkQJdeBCYSNAAP2sACghETwu/eh5d5K4QlwPsxqKw+w
GjQAn2kzJ1so1VkeuNFWsqHDmXuT6UFz
=ULve
-----END PGP SIGNATURE-----



More information about the bazaar mailing list