Previewing changes

Ben Finney bignose+hates-spam at benfinney.id.au
Wed Jul 30 07:45:24 BST 2008


Russel Winder <russel.winder at concertant.com> writes:

> Perhaps the only mechanism is to merge the changeset, run a diff, and
> then back out if the changeset is not wanted?

Aside from 'merge --preview' (which I wasn't aware of until Aaron
pointed it out), the '--revision' option can specify not just a revno
but also a branch, e.g.::

    # Diff of current tree versus revno 123 in this branch
    diff --revision revno:123

    # Diff of current tree versus revno 123 in /other/branch
    diff --revision revno:123:/other/branch

For other ways, see 'help revisionspec'.

-- 
 \           “'Tis strange, — but true; for truth is always strange; / |
  `\    Stranger than fiction.” —“Lord” George Gordon Noel Byron, _Don |
_o__)                                                            Juan_ |
Ben Finney




More information about the bazaar mailing list