uncommit and bound branches

Aaron Bentley aaron.bentley at utoronto.ca
Thu Mar 30 17:53:49 BST 2006


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

Erik Bågfors wrote:
> Say that I have a central branch, and have two developer having done a
> checkout on that branch (a bound branch checkout).  They are both up
> to date and now one developer uncommits the last commit.  What happens
> then?
> 
> I assume that the other developer has to run bzr update and the commit
> will show up as if he did "commit --local" on it?  Is that good?

It's bad, because it will resurrect the uncommitted revision.

> Would it be better to say "sorry, can't uncommit with a bound branch/checkout"

Maybe in the shared-branch case, but it's too useful in the
branch-per-developer case.  Even in the shared-branch case, there should
be a better way of handling it.

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

iD8DBQFELA0d0F+nu1YWqI0RAkubAJ9uaulf1dWDlfI1a+fDSa/hCBpcrgCdED4R
uqOyreRbKZBvjfMZd4s5g3Y=
=96lA
-----END PGP SIGNATURE-----




More information about the bazaar mailing list