Given two branches, branchA
and branchB
, is there a syntax for comparing arbitrary revision X
of branchA
with Y
of branchB
?
For example:
cd /path/to/branchA
bzr diff --new /path/to/branchB -rX
This will show the differences between revision X
of branchA
and the HEAD
of branchB
. Is there a syntax to compare against revision Y
of branchB
instead of the HEAD
?
As a workaround I can create a new branch branchB-Y
using -rY
and then diff against that branch instead of branchB
, but I would like to be able to diff directly without creating such temporary branches.
bzr help revisionspec
, it's not exactly easy to find. (It's in the explanation of therevno:
selector.) But hey thanks! – janos Mar 12 '13 at 18:35