[PATCH 10 of 14] bookmarks: Improve documentation

Joel Rosdahl joel at rosdahl.net
Sat Oct 25 10:18:43 CDT 2008


# HG changeset patch
# User Joel Rosdahl <joel at rosdahl.net>
# Date 1224947620 -7200
# Node ID 933aa644b8f75f1b71e96a88db59316e96f7fc76
# Parent  bea88297d0dd8592a0b1352727d740bf9c70c9ab
bookmarks: Improve documentation

diff --git a/hgext/bookmarks.py b/hgext/bookmarks.py
--- a/hgext/bookmarks.py
+++ b/hgext/bookmarks.py
@@ -67,10 +67,10 @@
     deleted. It is possible to use bookmark names in 'hg merge' and 'hg
     update' to update to a given bookmark.
 
-    You can use 'hg bookmark [NAME]' to set a bookmark on the current tip
-    with the given name. If you specify a second [NAME] the bookmark is
-    set to the bookmark that has that name. You can also pass revision
-    identifiers to set bookmarks too.
+    You can use 'hg bookmark NAME' to set a bookmark on the current
+    tip with the given name. If you specify a revision using -r REV
+    (where REV may be an existing bookmark), the bookmark is set to
+    that revision.
     '''
     hexfn = ui.debugflag and hex or short
     marks = parse(repo)


More information about the Mercurial-devel mailing list