[merge] restore 'bzr push' within a single repository

John Arbash Meinel john at arbash-meinel.com
Mon Feb 12 23:01:35 GMT 2007


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

Robert Collins wrote:
> Robert Collins has voted +1 (conditional).
> Status is now: Conditionally approved
> Comment:
> Looks good, though I dont think the right place to test pushing between
> two branches in the same repository is our UI tests. Instead, it should
> be in branch_implementations, so that different format branches get the
> test exercised. Not all branches work with shared repositories - but
> doing self.make_repository('.', shared=True) in the test, should do the
> right thing for the test suite IIRC.
> 
> For details, see:
> http://bundlebuggy.aaronbentley.com/request/%3C45D0ED91.8050509%40arbash-meinel.com%3E

I switched it to being a branch_implementations test.

It turns out that there are a couple of exceptions to catch (between
make_repository and self.branch_format.initialize). But if you do that,
then you handle formats that aren't compatible with shared repositories,
and ones that can't be initialized.

John
=:->

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

iD8DBQFF0PHPJdeBCYSNAAMRAlrLAJ9cbo2gxjkU/P/cbDO37k2ym0xevACfWE36
ouml4HpVuM1lqjcGq/gWod8=
=UMaY
-----END PGP SIGNATURE-----



More information about the bazaar mailing list