Comment 1 for bug 76765

Revision history for this message
John A Meinel (jameinel) wrote : Re: diff -r-1 for branch with one revision is broken

At the moment, negative numbers are trapped at 1. So if you a slightly longer branch (say 5 revisions) you can do:

bzr log -r -10..-1

And it will print out all 5 revisions.

The impedance mismatch is because 'bzr diff' is showing the difference from X to Y, while log is showing everything from X to Y *inclusive*.

So there is no 'bzr log -r 0' because that isn't a revision. But there is a diff -r 0, because that is the Null revision.

I'm not sure how to reconcile this, but I can agree that it is a little confusing/inconsistent.