bzr log -r bzr-2.5b3..bzr-2.5b4 fails

Bug #904744 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Vincent Ladeuil

Bug Description

Public bug reported:

I'm wondering why the following `bzr diff` works but `bzr log` fails:

$ bzr diff -r bzr-2.5b3..bzr-2.5b4
=== modified file 'Makefile'
--- Makefile 2011-09-06 11:01:30 +0000
+++ Makefile 2011-11-29 00:35:22 +0000
@@ -43,7 +43,8 @@
...

$ bzr log -r bzr-2.5b3..bzr-2.5b4
bzr: ERROR: Start revision not found in left-hand history of end revision.

You see I'm not an expert in bzr, so can anyone
shed some light on this for me, please?

Tags: log

Related branches

Revision history for this message
Vincent Ladeuil (vila) wrote :

Long story short: there are two co-existing implementations of bzr log.

One is optimised at the cost of handling only the mainline revisions and never displaying merged revisions. This implementation cannot find the tag:bzr-2.5b3 revision because it's a merged revision (6252.1.1).

Changed in bzr:
assignee: nobody → Vincent Ladeuil (vila)
status: Confirmed → In Progress
Revision history for this message
Vincent Ladeuil (vila) wrote :

The fix is to catch the special case of a starting merged revision (X in -rX..Y) and fallback to the generic (but not that much slower these days) implementation.

Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.5b5
status: In Progress → Fix Released
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.