Add note about hg strip -B

Fri, 03 Feb 2017 10:52:29 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 03 Feb 2017 10:52:29 +0100
changeset 4
b01540d74084
parent 3
44f548c50e16
child 5
b8fe6bc8bb36

Add note about hg strip -B

CONTRIBUTE.md file | annotate | diff | comparison | revisions
--- a/CONTRIBUTE.md	Wed Feb 01 10:59:14 2017 +0100
+++ b/CONTRIBUTE.md	Fri Feb 03 10:52:29 2017 +0100
@@ -134,6 +134,10 @@
     $ hg strip -r 21:22         # using the example above
     $ hg book -d feature-xyz    # delete the bookmark
 
+Newer versions of Mercurial support `-B` argument:
+
+    $ hg strip -B feature-xyz   # shortcut
+
 You can just go back on the @ bookmark as it's the safest choice.
 
     $ hg pull                   # fetch changesets

mercurial