Forbid uncommits over the network

Aaron Bentley aaron at aaronbentley.com
Fri May 8 16:16:38 BST 2009


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

John Arbash Meinel wrote:
> I *do* think it is useful to have a way to help enforce a policy like
> "you shouldn't remove revisions from this branch", though generally
> you'll often need a backdoor "unbreakme" ability.

I don't think I agree.  Once a revision is publically visible, you
should assume that everyone and their dog has a copy.  If you try to
reverse the changes with "uncommit", someone else will accidentally
restore them by merging a revision that is derived from the uncommitted
revision.

For public branches, I always recommend using a reverse-merge to undo
changes.

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

iEYEARECAAYFAkoETNYACgkQ0F+nu1YWqI30vACfVaRGHaM0r/Rvt0csYmZEcjBf
eVMAnAs7zs16y+CF9VFcRdrtyNUBniPk
=b+4V
-----END PGP SIGNATURE-----



More information about the bazaar mailing list