[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-----
Robert Collins wrote:
> Robert Collins has voted +1 (conditional).
> Status is now: Conditionally approved
> 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:
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar