switch to a past revision
Martin Pool
mbp at canonical.com
Wed Aug 2 08:24:51 BST 2006
On 2 Aug 2006, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Hi,
>
> Simple question about bzr : is there a way to switch to a past
> revision while retaining the local changes.
>
> I know "bzr revert -r something", but :
>
> 1) It reverts local changes
>
> 2) It doesn't set .bzr/checkout/last-revision, so a further "update"
> will not return to the head.
>
>
> Probably this could/should be achieved by adding a "-r" option to
> update.
It's be good to fix. I agree 'update -r' would be the way to do it. It
should be really trivial as all the underlying machinery in workingtree
is already there as far as I know.
--
Martin
More information about the bazaar
mailing list