Show More
@@ -785,6 +785,10 b' def bookmark(ui, repo, mark=None, rev=No' | |||||
785 | repositories to support bookmarks. For versions prior to 1.8, this means |
|
785 | repositories to support bookmarks. For versions prior to 1.8, this means | |
786 | the bookmarks extension must be enabled. |
|
786 | the bookmarks extension must be enabled. | |
787 |
|
787 | |||
|
788 | If you set a bookmark called '@', new clones of the repository will | |||
|
789 | have that revision checked out (and the bookmark made active) by | |||
|
790 | default. | |||
|
791 | ||||
788 | With -i/--inactive, the new bookmark will not be made the active |
|
792 | With -i/--inactive, the new bookmark will not be made the active | |
789 | bookmark. If -r/--rev is given, the new bookmark will not be made |
|
793 | bookmark. If -r/--rev is given, the new bookmark will not be made | |
790 | active even if -i/--inactive is not given. If no NAME is given, the |
|
794 | active even if -i/--inactive is not given. If no NAME is given, the | |
@@ -1146,6 +1150,9 b' def clone(ui, source, dest=None, **opts)' | |||||
1146 | tag will include the tagged changeset but not the changeset |
|
1150 | tag will include the tagged changeset but not the changeset | |
1147 | containing the tag. |
|
1151 | containing the tag. | |
1148 |
|
1152 | |||
|
1153 | If the source repository has a bookmark called '@' set, that | |||
|
1154 | revision will be checked out in the new repository by default. | |||
|
1155 | ||||
1149 | To check out a particular version, use -u/--update, or |
|
1156 | To check out a particular version, use -u/--update, or | |
1150 | -U/--noupdate to create a clone with no working directory. |
|
1157 | -U/--noupdate to create a clone with no working directory. | |
1151 |
|
1158 |
General Comments 0
You need to be logged in to leave comments.
Login now