"bzr log --forward FILE" crashes for revision range if first revision is not mainline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
When running 'bzr log -rREVID --forward FILE', for a specific REVID and FILE in mysql, bzr crashes. The crash goes away if I use other REVIDs, or if I omit --forward, or if I omit FILE.
Steps to repeat:
$ bzr branch lp:mysql-server/6.0 mysql-6.0
You have not informed bzr of your launchpad login. If you are attempting a
write operation and it fails, run "bzr launchpad-login YOUR_ID" and try again.
Branched 2792 revision(s).
$ cd mysql-6.0
$ bzr log -l1 --show-ids
-------
revno: 2792
revision-id: <email address hidden>
parent: <email address hidden>
parent: <email address hidden>
committer: Jorgen Loland <email address hidden>
branch nick: mysql-6.0
timestamp: Fri 2008-11-14 14:44:11 +0100
message:
Merge mysql-6.
$ bzr log '-rrevid:<email address hidden>..' --show-ids --forward mysql-test/
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/
result = func(*args, **kwargs)
File "/home/
limit=limit)
File "/home/
start_revision, end_revision, search, limit)
File "/home/
allow_
File "/home/
direction)
File "/home/
view_revisions = reverse_
File "/home/
zd_
IndexError: list index out of range
bzr 1.10dev on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
danny_plugins /home/sven/
difftools /home/sven/
extmerge /home/sven/
gtk /home/sven/
launchpad /home/sven/
mysql_merge /home/sven/
mysql_plugins /home/sven/
per_file_remerge /home/sven/
*** 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.
$ bzr version
Bazaar (bzr) 1.10dev
from bzr checkout /home/sven/
revision: 3841
revid: <email address hidden>
branch nick: bzr.dev
Python interpreter: /usr/bin/python 2.5.2
Python standard library: /usr/lib/python2.5
bzrlib: /home/sven/
Bazaar configuration: /home/sven/.bazaar
Bazaar log file: /home/sven/.bzr.log
Copyright 2005, 2006, 2007, 2008 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Changed in bzr: | |
assignee: | nobody → vila |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr: | |
milestone: | none → 1.10rc1 |
status: | In Progress → Fix Released |
I just updated the description of the bug to outline that the bug is that, when the first revision is not a mainline one, we fail to properly identify the merges towards mainline since they are outside the requested revision range.