"bzr visualise -rX" shows revisions of [oldest revision, X]; wouldn't one expect [X, newest revision] ?

Asked by GuilhemBichot

I think that when one specifies -rX in "bzr visualise", she/he would expect to see the [X, newest revision] range, not the [oldest revision, X] range. One is rarely interested in the revisions which occurred 3 years ago.
So the question is: is the current behaviour expected?

Question information

Language:
English Edit question
Status:
Expired
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

"-rX" is always displaying the "Xth" revision. If you want the last revisions, use "-r -X".

You are actually saying "show me revision 10" as committed. (So your first commit is 1, next is 2, etc)

So yes, it is very intentional. You can use the negative form to get what you want.

Revision history for this message
GuilhemBichot (guilhem-bichot) said :
#2

Not exactly (or I don't understand :). I have the intent to see revisions from revno 2500 to the most recently committed revision. If I do "-r 2500", it shows me [1,2500]. Using the negative form does not improve:
-r -N
where N is positive, is apparently the same as
-r M
where M = total_number_of_revs - N
and it shows [1, M]: it stops at M. I'd rather want to see what is between the specified bound and today.
In more clearer terms, how can one tell "viz": "please show me revisions from revno 2500 to the most recently committed revision" ?

Revision history for this message
John A Meinel (jameinel) said :
#3

I would expect to have that happen in the 2 number format. So something like:

bzr viz -r M..-1

To show everything from the current tip back to revision M.

That makes it consistent with commands like "bzr log", etc. I don't know if this is implemented or not, but it would be the expected command line.

Revision history for this message
GuilhemBichot (guilhem-bichot) said :
#4

With M>0, bzr viz -r M..-1 shows everything from 1 to M (like -r M).

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.