[MERGE] Make 'bzr upgrade' work over HPSS.

John Arbash Meinel john at arbash-meinel.com
Tue Jul 29 17:36:20 BST 2008


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

Andrew Bennetts wrote:
| This is a quick patch to make 'bzr upgrade' work over HPSS.  It does
the bare
| minimum necessary to let it work over VFS operations.  So it'll
probably be
| roughly as slow as doing an upgrade over e.g. SFTP.
|
| I haven't tested it thoroughly yet, but it's pretty simple.
|
| -Andrew.
|
|

Poking at 'self.bzrdir._real_bzrdir' seems a bit iffy. Maybe adding a
'get_real_bzrdir()' to RemoteBzrDir and then having a:

get_real = getattr(self.bzrdir, 'get_real_bzrdir', None)
if get_real is not None:
~  self.bzrdir = get_real()

BB:tweak

I really like that you can upgrade over HPSS, I'm not a big fan of
poking at private members if we can help it.

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

iEYEARECAAYFAkiPRwQACgkQJdeBCYSNAAO7vgCgmbwuaNfvO4HDRujMPfRxFQYF
ekwAniFdBsgeTy7jb+WrFkRrdn9hCS5r
=wh6P
-----END PGP SIGNATURE-----



More information about the bazaar mailing list