switch to a past revision

Robert Collins robertc at robertcollins.net
Wed Aug 2 08:56:57 BST 2006


On Wed, 2006-08-02 at 17:24 +1000, Martin Pool wrote:
> 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.

FWIW, bug # 45719 - https://launchpad.net/products/bzr/+bug/45719

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060802/bef2e79d/attachment.pgp 


More information about the bazaar mailing list