~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-16 00:09:54 UTC
  • mfrom: (3629.1.4 uncommit_ids)
  • Revision ID: pqm@pqm.ubuntu.com-20080816000954-t0401ff8s3ydnkr6
(jam) bzr uncommit now gives the revision id to restore the branch to
        the old tip.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3779
3779
                    print 'Canceled'
3780
3780
                    return 0
3781
3781
 
 
3782
        mutter('Uncommitting from {%s} to {%s}',
 
3783
               last_rev_id, rev_id)
3782
3784
        uncommit(b, tree=tree, dry_run=dry_run, verbose=verbose,
3783
3785
                 revno=revno, local=local)
 
3786
        note('You can restore the old tip by running:\n'
 
3787
             '  bzr pull . -r revid:%s', last_rev_id)
3784
3788
 
3785
3789
 
3786
3790
class cmd_break_lock(Command):