changeset 4:b01540d74084

Add note about hg strip -B
author David Demelier <markand@malikania.fr>
date Fri, 03 Feb 2017 10:52:29 +0100
parents 44f548c50e16
children b8fe6bc8bb36
files CONTRIBUTE.md
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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