[MERGE][0.14] Allow 'bzr push' to push onto existing dir

Alexander Belchenko bialix at ukr.net
Sun Jan 14 01:05:42 GMT 2007


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

John Arbash Meinel пишет:
> 
> Sure. Let me know if it works for you.

Your patch miss something important. Because it fails to mkdir target
directory even with --use-existing flag:

C:\work\Bazaar\sandbox\setup.fixes>bzr push sftp://bialix@aaronbentley.com/~/repo/python2.5
Connected (version 2.0, client OpenSSH_4.2p1)
Authentication (publickey) successful!
Secsh channel 1 opened.
Opened sftp connection (server version 3)

<-- here I break push to check your patch.

C:\work\Bazaar\sandbox\setup.fixes>bzr push sftp://bialix@aaronbentley.com/~/repo/python2.5
Connected (version 2.0, client OpenSSH_4.2p1)
Authentication (publickey) successful!
Secsh channel 1 opened.
Opened sftp connection (server version 3)
bzr: ERROR: Target directory sftp://bialix@aaronbentley.com/~/repo/python2.5 already exists, but
does not have a valid .bzr directory. Supply --use-existing to push there anyway.

C:\work\Bazaar\sandbox\setup.fixes>bzr push sftp://bialix@aaronbentley.com/~/repo/python2.5
- --use-existing
Connected (version 2.0, client OpenSSH_4.2p1)
Authentication (publickey) successful!
Secsh channel 1 opened.
Opened sftp connection (server version 3)
bzr: ERROR: File exists: u'repo/python2.5/.bzr': Failure: unable to mkdir


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

iD8DBQFFqYHlzYr338mxwCURAsr7AJ9h4Noev8OKvDWDW5t0vLZynUCqMQCgkAhM
PTlwlu7RJBfvwy6CSEXe5k4=
=uQSM
-----END PGP SIGNATURE-----




More information about the bazaar mailing list