Rev 5565: (vila) Tweak 'revert' help. (Andrew Bennetts) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri Dec 10 15:01:44 GMT 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5565 [merge]
revision-id: pqm at pqm.ubuntu.com-20101210150144-soij444ebu0ksoxu
parent: pqm at pqm.ubuntu.com-20101210001242-kc09e5hy8yfoaelj
parent: andrew.bennetts at canonical.com-20101208101959-tngr07xid60qsn98
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2010-12-10 15:01:44 +0000
message:
  (vila) Tweak 'revert' help. (Andrew Bennetts)
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2010-11-30 05:49:40 +0000
+++ b/bzrlib/builtins.py	2010-12-08 10:19:59 +0000
@@ -4208,9 +4208,10 @@
     last committed revision is used.
 
     To remove only some changes, without reverting to a prior version, use
-    merge instead.  For example, "merge . --revision -2..-3" will remove the
-    changes introduced by -2, without affecting the changes introduced by -1.
-    Or to remove certain changes on a hunk-by-hunk basis, see the Shelf plugin.
+    merge instead.  For example, "merge . -r -2..-3" (don't forget the ".")
+    will remove the changes introduced by the second last commit (-2), without
+    affecting the changes introduced by the last commit (-1).  To remove
+    certain changes on a hunk-by-hunk basis, see the shelve command.
 
     By default, any files that have been manually changed will be backed up
     first.  (Files changed only by merge are not backed up.)  Backup files have
@@ -4246,7 +4247,7 @@
     target branches.
     """
 
-    _see_also = ['cat', 'export']
+    _see_also = ['cat', 'export', 'merge', 'shelve']
     takes_options = [
         'revision',
         Option('no-backup', "Do not save backups of reverted files."),




More information about the bazaar-commits mailing list