AW: How do I update a working tree to an old revision?
aaron at aaronbentley.com
Fri Jul 17 13:28:59 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Voelker, Bernhard wrote:
> Vincent Ladeuil wrote:
>> bzr branch <trunk> work
>> cd work
>> bzr pull --overwrite -r <revno>
>> test, that works
>> bzr pull --overwrite -r <another-revno>
>> test, that fails
>> bzr pull --overwrite -r <yet-another-revno>
>> so it doesn't matter if the local tip is changed.
> isn't this a typical case for a light-weight checkout?
If you made a lightweight checkout of branch and used pull -r
- --overwrite to update to an earlier version, you would reset the tip of
your branch to that earlier version. It would be difficult, but not
impossible to restore your branch to its initial state.
This is not typical use case for lightweight checkouts. Don't do it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar