[MERGE] Skip unnecessary work in BzrBranch._basic_push.
John Arbash Meinel
john at arbash-meinel.com
Fri Sep 12 16:42:28 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Bennetts wrote:
> This skips a bunch of unnecessary work in BzrBranch._basic_push for the
> relatively common case of pushing 0 new revisions. It also avoids doing
> unnecessary work if there are no tags in the source branch.
>
> This cuts the number of HPSS round trips to a constant 8 for that case.
> Previously on bzr.dev it took about 3x as many (or worse, if you had lots of
> pack files!).
>
> This improvement really deserves to be enforced with some of those effort tests
> I've been promising, but in the meantime here it is with no automated tests.
>
> -Andrew.
>
>
BB:approve
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEUEARECAAYFAkjKjeQACgkQJdeBCYSNAAOSswCVFiFUcdWfJasB7lT196dhFuJ8
iQCgi922vjPRgu9nOH46+JaqtIfmspQ=
=29re
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list