Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 15175:282db9102c43
clone: move url crossref to bottom
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 30 Sep 2011 11:30:00 -0500 |
parents | 9f1a08c00931 |
children | 1c57d8b38d5a |
comparison
equal
deleted
inserted
replaced
15174:9f1a08c00931 | 15175:282db9102c43 |
---|---|
1038 basename of the source. | 1038 basename of the source. |
1039 | 1039 |
1040 The location of the source is added to the new repository's | 1040 The location of the source is added to the new repository's |
1041 ``.hg/hgrc`` file, as the default to be used for future pulls. | 1041 ``.hg/hgrc`` file, as the default to be used for future pulls. |
1042 | 1042 |
1043 See :hg:`help urls` for valid source format details. | |
1044 | |
1045 It is possible to specify an ``ssh://`` URL as the destination, but no | 1043 It is possible to specify an ``ssh://`` URL as the destination, but no |
1046 ``.hg/hgrc`` and working directory will be created on the remote side. | 1044 ``.hg/hgrc`` and working directory will be created on the remote side. |
1047 Please see :hg:`help urls` for important details about ``ssh://`` URLs. | |
1048 | 1045 |
1049 To pull only a subset of changesets, specify one or more revisions | 1046 To pull only a subset of changesets, specify one or more revisions |
1050 identifiers with -r/--rev or branches with -b/--branch. The | 1047 identifiers with -r/--rev or branches with -b/--branch. The |
1051 resulting clone will contain only the specified changesets and | 1048 resulting clone will contain only the specified changesets and |
1052 their ancestors. These options (or 'clone src#rev dest') imply | 1049 their ancestors. These options (or 'clone src#rev dest') imply |
1084 d) the changeset specified with -r | 1081 d) the changeset specified with -r |
1085 e) the tipmost head specified with -b | 1082 e) the tipmost head specified with -b |
1086 f) the tipmost head specified with the url#branch source syntax | 1083 f) the tipmost head specified with the url#branch source syntax |
1087 g) the tipmost head of the default branch | 1084 g) the tipmost head of the default branch |
1088 h) tip | 1085 h) tip |
1086 | |
1087 See :hg:`help urls` for details on specifying URLs. | |
1089 | 1088 |
1090 Returns 0 on success. | 1089 Returns 0 on success. |
1091 """ | 1090 """ |
1092 if opts.get('noupdate') and opts.get('updaterev'): | 1091 if opts.get('noupdate') and opts.get('updaterev'): |
1093 raise util.Abort(_("cannot specify both --noupdate and --updaterev")) | 1092 raise util.Abort(_("cannot specify both --noupdate and --updaterev")) |