AW: How do I update a working tree to an old revision?
Aaron Bentley
aaron at aaronbentley.com
Fri Jul 17 13:28:59 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpgboUACgkQ0F+nu1YWqI3ekACfYnwkWZIz6jCseG8fAGg7sRq3
tJ8AnRdBCDS75YZJpPDUZok418aBwhN5
=Ak7h
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list