cannot uncommit to a non-mainline revision
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The following command:
$ bzr uncommit -r ancestor:
Generates the exception below. I have tried figuring out the revision using revision info (which works fine) and then get the same error when using the literal revisionid instead of the 'ancestor:' specification above. The ancestor above is a merge changeset.
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
local=local)
File "/usr/lib/
revno = revision[
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
bzr 1.6 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'uncommit', '-r', 'ancestor:
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
difftools /home/mats/
extmerge /home/mats/
fastimport /home/mats/
gtk /home/mats/
launchpad /usr/lib/
mysql /home/mats/
tests /home/mats/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
summary: |
- Exception when uncommitting to a previous version + cannot uncommit to a non-mainline revision |
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mats Kindahl wrote: ../../6. 0-rpl-merge/
> Public bug reported:
>
> The following command:
>
> $ bzr uncommit -r ancestor:
>
> Generates the exception below. I have tried figuring out the revision
> using revision info (which works fine) and then get the same error when
> using the literal revisionid instead of the 'ancestor:' specification
> above. The ancestor above is a merge changeset.
Of course, it should not fail like this.
This is happening because you are uncommitting to a revision that is not
in the lefthand ancestry-- a revision that was never committed or pulled
into this branch in the first place.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFItcwJ0F+ nu1YWqI0RAuxTAJ 9bYvWSnlXAWwORu leRMaFuLiSiWQCd HnU7 QV7SGnCM=
99pmTN9sA9ljIhP
=3V3m
-----END PGP SIGNATURE-----