Cannot use bzr uncommit to roll back to a revision that has revno with dots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
It is not possible to "bzr uncommit" to a revision that has dots in the revno.
Here's the demonstration:
psergey@pslp mysql-6.0 $ bzr log --show-ids --limit=10
<skip>
-------
revno: 2670
revision-id: <email address hidden>
parent: <email address hidden>
parent: <email address hidden>
committer: Chuck Bell <email address hidden>
branch nick: mysql-6.
timestamp: Tue 2008-07-15 16:02:29 -0400
message:
Pull from main (falcon changes). Changed myisamlog.test to indicate last change was reported as BUG#38133.
---
revno: 2599.106.21
revision-id: <email address hidden>
parent: <email address hidden>
parent: <email address hidden>
committer: Hakan Kuecuekyilmaz <email address hidden>
branch nick: mysql-6.
timestamp: Mon 2008-07-14 19:28:28 +0200
message:
Merge.
psergey@pslp mysql-6.0 $ bzr uncommit -r2599.106.21
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
local=local)
File "/home/
revno = revision[
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
bzr 1.6b3 on python 2.4.4 (linux2)
arguments: ['/home/
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
difftools /home/psergey/
extmerge /home/psergey/
gtk /home/psergey/
launchpad /home/psergey/
mysql /home/psergey/
*** 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.
# Specifying revid doesn't help:
psergey@pslp mysql-6.0 $ bzr uncommit -rrevid:<email address hidden>
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
local=local)
File "/home/
revno = revision[
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
bzr 1.6b3 on python 2.4.4 (linux2)
arguments: ['/home/
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
difftools /home/psergey/
extmerge /home/psergey/
gtk /home/psergey/
launchpad /home/psergey/
mysql /home/psergey/
*** 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.
Getting this resolved is important for us at MySQL because we quite often need to check the behavior of some preceding version.
tags: | added: easy uncommit |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | removed: check-for-breezy |
Hi,
> Getting this resolved is important for us at MySQL because we quite often need to check the behavior of some preceding version.
There are other ways to this than uncommit, e.g. revert. Obviously you should make sure
that you don't have uncommitted changes before you start, but as you have to revert after
uncommit to do what you want you should already be doing that.
Thanks,
James