rebasing branches with only one revision fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-rewrite |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
When running the attached script, I would expect a message like "ERROR: already rebased on ...". Instead, it throws a NoSuchRevision error. There seems to be an algorithm that assumes it can refer to "revision 2", but the branch in question does not have one.
Build phase: .....
added file.txt
Collecting changes [Directory 0] - Stage: .
Collecting changes [Directory 1] - Stage: .
added file.txt
Saving data locally - Stage: .
Updating the working tree - Stage: .
Committed revision 1.
Running post commit hooks - Stage: .
Fetch phase: .............
Build phase: ........
Branched 1 revision(s).
Collecting changes [Directory 0] - Stage: .
Collecting changes [Directory 1] - Stage: .
modified file.txt
Saving data locally - Stage: .
Updating the working tree - Stage: .
Committed revision 2.
Running post commit hooks - Stage: .
Rebasing on file://
Fetch phase: .............
Fetch phase: .
bzr: ERROR: bzrlib.
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/
result = func(*args, **kwargs)
File "/home/
wt.
File "/usr/lib/
raise errors.
NoSuchRevision: Branch BzrBranch5(
bzr 0.90.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'rebase']
** please send this report to <email address hidden>
Changed in bzr-rebase: | |
assignee: | nobody → jelmer |
importance: | Undecided → Medium |
milestone: | none → 0.2 |
status: | New → Fix Committed |
Changed in bzr-rebase: | |
status: | Fix Committed → Fix Released |
Am Montag, den 24.09.2007, 11:08 +0000 schrieb Pieter Nagel: samba.org/ ~jelmer/
> Public bug reported:
>
> When running the attached script, I would expect a message like
> "ERROR:
> already rebased on ...". Instead, it throws a NoSuchRevision error.
> There seems to be an algorithm that assumes it can refer to "revision
> 2", but the branch in question does not have one.
What version/revision of bzr-rebase are you using?
--
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>