How do I update a working tree to an old revision?

Nicholas Allen nick.allen at onlinehome.de
Fri Jul 17 11:03:52 BST 2009


>
> 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> 
>
> The revnos used by pull refers to <trunk> not your local branch,
> so it doesn't matter if the local tip is changed.
>
> What's the problem here ? Do you use a setup I don't understand
> that makes the above impossible ?
Thanks for making it clear. It just required a different way of thinking 
to make use of the existing bzr functionality to do this - I guess my 
mind was too used to the way it's done in every other VCS I've used and 
I didn't think of using 2 branches.

Cheers,

Nick



More information about the bazaar mailing list