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

Ian Clatworthy ian.clatworthy at internode.on.net
Fri Jul 17 08:04:47 BST 2009


Nicholas Allen wrote:
> Hi,
> 
> I would like to update my working tree to an old revision to see where a
> bug was introduced. The update command does not have a -r option to
> specify the revision. revert is not what I want because this reverts the
> changes but keeps the working tree at the tip revision (so the changes
> appear as changes to commit).

It's an outstanding feature IIUIC. If you're keen, try
https://code.edge.launchpad.net/~mhammond/bzr/update-r

I think there was a patch submitted last year for switch -r as well that
I rejected because it needed more tests. If the above doesn't work, you
might want to search for it.

Ian C.



More information about the bazaar mailing list