RevisionNotPresent error

Bug #803459 reported by André Bachmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Medium
Unassigned

Bug Description

Using bzr 2.3.3-3 (with qbzr 0.20) and Win7:
When I copy a branch from one repo to another repo (in which it doesn't belong to) and open this repo in Bazaar Explorer, I get this error:
http://najut.org/~blackarchon/revisionnotpresent.png
There is no corresponding entry in my .bzr.log.

If I use qbzr trunk rev. 1404 for this, I got an environmental error:

bzr: ERROR: Revision {<email address hidden>} not present in "Graph(CachingParentsProvider(CHKInventoryRepository('file:///C:/spielwiese/VRepo/CWA/.bzr/repository/')))".

and this in my .bzr.log:

...
6.610 Traceback (most recent call last):
  File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 1481, in callable_with_cleanup
  File "C:/Program Files/Bazaar/plugins\explorer\lib\view_repository.py", line 518, in task
  File "C:/Program Files/Bazaar/plugins\explorer\lib\html_log.py", line 34, in log_as_html
  File "bzrlib\log.pyo", line 343, in show
  File "bzrlib\log.pyo", line 367, in _show_body
  File "bzrlib\log.pyo", line 405, in iter_log_revisions
  File "bzrlib\log.pyo", line 930, in _make_revision_objects
  File "bzrlib\log.pyo", line 955, in _make_batch_filter
  File "bzrlib\log.pyo", line 785, in _convert
  File "bzrlib\log.pyo", line 666, in _linear_view_revisions
  File "bzrlib\graph.pyo", line 988, in iter_lefthand_ancestry
  File "bzrlib\graph.pyo", line 984, in get_parents
RevisionNotPresent: Revision {<email address hidden>} not present in "Graph(CachingParentsProvider(CHKInventoryRepository('file:///C:/spielwiese/VRepo/CWA/.bzr/repository/')))".

Of course, I did something wrong, but I would expect to get a nice little window with some more information like "Revision XYZ of branch ABC was not found - does this branch belong to this repository?".

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 803459] [NEW] RevisionNotPresent error

29.06.2011 16:50, André Bachmann пишет:
> Public bug reported:
>
> Using bzr 2.3.3-3 (with qbzr 0.20) and Win7:
> When I copy a branch from one repo to another repo (in which it doesn't belong to) and open this repo in Bazaar Explorer, I get this error:
> http://najut.org/~blackarchon/revisionnotpresent.png

If you just copy branch from one shared repository to anothr shared
repository then you may lost some history of your branch, because it's
still in old shared repository.

You should use `bzr branch` command instead to make sure all revisions
will be copied from one repository to another.

Changed in qbzr:
status: New → Invalid
Revision history for this message
André Bachmann (andrebachmann-dd) wrote :

Yes, I know that I didn't do the right way of copying a branch. But I don't think this is a good enough reason to crash Bazaar Explorer. An informative message about the problem would be a more friendly way for the user. An application should never crash because of incorrect user data.

Revision history for this message
Alexander Belchenko (bialix) wrote :

OK, it makes sense.

Changed in qbzr:
status: Invalid → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.