"bzr branch -r nnn" fails because of ghost revision
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
Yet another ghost revision bug.
The repository checked was on my local disk, but it is mirrored as http://
tom@tomsin-
/home/tom/
Branch.
Checking repository at 'file:/
checked repository <bzrlib.
1203 revisions
1432 file-ids
7174 unique file texts
1176939 repeated file texts
0 unreferenced text versions
3 ghost revisions
3 revisions missing parents in ancestry
814 inconsistent parents
Checking branch at 'file:/
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/
check_
File "/home/
check_
File "/home/
branch_result = branch.check()
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
real_
File "/home/
parents = graph.get_
KeyError: 'Arch-1:<email address hidden>
bzr 1.6b3 on python 2.4.5 (linux2)
arguments: ['./bzr', 'check', '/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'nb_NO.UTF-8'
plugins:
bzr_cia /home/tom/
bzrtools /home/tom/
launchpad /home/tom/
*** 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.
Related branches
Changed in bzr: | |
status: | Fix Committed → Fix Released |
On Mon, 2008-07-14 at 22:04 +0000, Tom Cato Amundsen wrote: www.solfege. org/bzr/ solfege. dev
> Public bug reported:
>
> Yet another ghost revision bug.
> The repository checked was on my local disk, but it is mirrored as http://
>
And quoth the source:
# Note: The following line may raise KeyError in the event of parent_ map([next_ id])[next_ id]
# truncated history. We decided not to have a try:except:raise
# RevisionNotPresent here until we see a use for it, because of the
# cost in an inner loop that is by its very nature O(history).
# Robert Collins 20080326
parents = graph.get_
Thanks,
James