~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2008-08-15 17:13:12 UTC
  • mto: This revision was merged to the branch mainline in revision 3638.
  • Revision ID: john@arbash-meinel.com-20080815171312-ny39eh0hc95j8ytd
Change to just display the command to restore the tip,
rather than showing the revision ids in the log display.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3740
3740
 
3741
3741
        lf = log_formatter('short',
3742
3742
                           to_file=self.outf,
3743
 
                           show_timezone='original',
3744
 
                           show_ids=True)
 
3743
                           show_timezone='original')
3745
3744
 
3746
3745
        show_log(b,
3747
3746
                 lf,
3766
3765
               last_rev_id, rev_id)
3767
3766
        uncommit(b, tree=tree, dry_run=dry_run, verbose=verbose,
3768
3767
                 revno=revno, local=local)
 
3768
        note('You can restore the old tip by running:\n'
 
3769
             '  bzr pull . -r revid:%s', last_rev_id)
3769
3770
 
3770
3771
 
3771
3772
class cmd_break_lock(Command):