Comment 9 for bug 250150

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 250150] Re: Cannot use bzr uncommit to roll back to a revision that has revno with dots

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> On 12 February 2010 14:02, Ian Clatworthy <email address hidden> wrote:
>> Well the exception is certainly ugly in any case. Maybe we should trap a
>> non-mainline revision argument and suggest other commands?
>
> If people explicitly ask to uncommit to a non-mainline revision I
> don't see why we should not allow that. It probably just needs the
> check removed.
>

The reason it fails is because we log the mainline. Also because at one
point doing "uncommit -r X" actually meant "set_last_revision(x-1)". I
think we now just do "set_last_revision(x)" so that should be simpler.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt1W1sACgkQJdeBCYSNAAPGLgCgh1Qz/SrFSHcoaj+UPKcviX2C
5zIAn1tbiOrWbe/aLRJDHe+rs72eXrxy
=kOJ7
-----END PGP SIGNATURE-----