bzr: ERROR: The branch X has no revision None.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have a repository in /srv/bzr/repo, containing many branches. Many of them now give output as below when I try and branch from them:
jason@ionrift:/tmp$ bzr version
Bazaar (bzr) 2.1.1
Python interpreter: /usr/bin/python 2.5.2
Python standard library: /usr/lib/python2.5
Platform: Linux-2.
bzrlib: /usr/lib/
Bazaar configuration: /home/jason/.bazaar
Bazaar log file: /home/jason/
...
jason@ionrift:/tmp$ bzr branch /srv/bzr/
bzr: ERROR: The branch /srv/bzr/
jason@ionrift:/tmp$ bzr reconcile /srv/bzr/
Reconciling branch file://
Fixing last revision info 1 => 0
Reconciling repository file://
Reconciliation complete.
jason@ionrift:/tmp$ bzr branch /srv/bzr/
bzr: ERROR: The branch /srv/bzr/
jason@ionrift:/tmp$ bzr check /srv/bzr/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
Checking branch at 'file:/
No working tree found at specified location.
Checking repository at 'file:/
checked repository <bzrlib.
9 revisions
22 file-ids
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 54 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 56 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 12 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 0 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 9 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 1 != -1
checked branch file://
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 1 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 2 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 2 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 0 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 5 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 45 != -1
checked branch file://
found error:Internal check failed: revno does not match len(mainline) 2 != -1
jason@ionrift:/tmp$
Can you check the contents of the '.bzr/branch/ last-revision' file in those branches?