~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Daniel Clemente
  • Date: 2008-09-04 19:07:58 UTC
  • mto: (3711.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3712.
  • Revision ID: dcl441-bugs@yahoo.com-20080904190758-711mlwsiss43csmu
Wrote specifical and simpler example for 'before:', and referred to 'bzr diff -c'

Show diffs side-by-side

added added

removed removed

Lines of Context:
486
486
      before:1913    -> Return the parent of revno 1913 (revno 1912)
487
487
      before:revid:aaaa@bbbb-1234567890  -> return the parent of revision
488
488
                                            aaaa@bbbb-1234567890
489
 
      bzr diff -r before:revid:aaaa..revid:aaaa
490
 
            -> Find the changes between revision 'aaaa' and its parent.
491
 
               (what changes did 'aaaa' introduce)
 
489
      bzr diff -r before:1913..1913
 
490
            -> Find the changes between revision 1913 and its parent (1912).
 
491
               (What changes did revision 1913 introduce).
 
492
               This is equivalent to:  bzr diff -c 1913
492
493
    """
493
494
 
494
495
    prefix = 'before:'