help: document '@' bookmark in 'help bookmarks' and 'help clone' stable
authorKevin Bullock <kbullock@ringworld.org>
Fri, 25 Jan 2013 11:06:30 -0600
branchstable
changeset 18474 e031e10cdc06
parent 18473 692cbda1eb50
child 18475 075143f60807
help: document '@' bookmark in 'help bookmarks' and 'help clone'
mercurial/commands.py
--- a/mercurial/commands.py	Wed Jan 23 22:52:55 2013 +0900
+++ b/mercurial/commands.py	Fri Jan 25 11:06:30 2013 -0600
@@ -785,6 +785,10 @@
     repositories to support bookmarks. For versions prior to 1.8, this means
     the bookmarks extension must be enabled.
 
+    If you set a bookmark called '@', new clones of the repository will
+    have that revision checked out (and the bookmark made active) by
+    default.
+
     With -i/--inactive, the new bookmark will not be made the active
     bookmark. If -r/--rev is given, the new bookmark will not be made
     active even if -i/--inactive is not given. If no NAME is given, the
@@ -1146,6 +1150,9 @@
     tag will include the tagged changeset but not the changeset
     containing the tag.
 
+    If the source repository has a bookmark called '@' set, that
+    revision will be checked out in the new repository by default.
+
     To check out a particular version, use -u/--update, or
     -U/--noupdate to create a clone with no working directory.