bzr log -r ..X fails with get_parent_map(None); bzr log -r revno:1..X is fine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Vincent Ladeuil |
Bug Description
Hello.
I thought that
bzr log -r ..X is the same as
bzr log -r revno:1..X (I thought that omitting the low bound is like using 1, just like omitting the high bound is like -1, in "bzr log -r X.."), but the first crashes while the other doesn't.
How to repeat:
get https:/
and do
bzr --no-plugins --no-aliases log -n0 -r '..revid:<email address hidden>'
bzr: failed to report crash using apport:
OSError(13, 'Permission non accord\xc3\xa9e')
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run_
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
Logger(b, rqst).show(lf)
File "/home/
self.
File "/home/
for lr in generator.
File "/home/
revision_
File "/home/
return self._log_
File "/home/
delayed_
File "/home/
direction, delayed_
File "/home/
if not graph.is_
File "/home/
[candidate_
File "/home/
ancestors.
File "/home/
self._advance()
File "/home/
found, ghosts, next, parents = self._do_
File "/home/
parent_map = self._parents_
File "/home/
parent_map = self._get_
File "/home/
raise ValueError(
ValueError: get_parent_
bzr 2.2.0dev1 on python 2.5.2 (Linux-
bzr --no-plugins --no-aliases log -n0 -r 'revno:
rather gives some output as expected.
bzr version:
Bazaar (bzr) 2.2.0dev1
from bzr checkout /home/mysql_
revision: 5008
revid: <email address hidden>
branch nick: bzr.dev
Did I misunderstand what an empty lower bound does?
Related branches
- Vincent Ladeuil: Approve
-
Diff: 31 lines (+4/-4)2 files modifiedbzrlib/lazy_regex.py (+3/-3)
doc/en/release-notes/bzr-2.7.txt (+1/-1)
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.2b1 |
Changed in bzr: | |
status: | In Progress → Fix Released |
I don't think you're misunderstanding this, it's just a bug.