Revision of last change in FILE

Eli Zaretskii eliz at gnu.org
Fri Nov 18 08:18:41 UTC 2011


When I need to know which revision made the last change in a certain
file, I use this command:

  bzr log --line -l1 FILE

This works, but is somewhat slow, and also not very ergonomic from the
POV of how much one needs to type for such a simple task.  (Of course,
I could make an alias.)

Is there a better way?  All I need to know is the revno, nothing else.

Bonus points for a recipe to show the diffs of that last change,
without finding out the revno, as in

  bzr diff -c SOMETHING FILE

where SOMETHING is some revspec which says "the revno where FILE was
last changed".

TIA



More information about the bazaar mailing list