Show More
@@ -659,16 +659,16 b' def clone(ui, source, dest=None, **opts)' | |||||
659 | Mercurial will update the working directory to the first applicable |
|
659 | Mercurial will update the working directory to the first applicable | |
660 | revision from this list: |
|
660 | revision from this list: | |
661 |
|
661 | |||
662 |
|
|
662 | a) null if -U or the source repository has no changesets | |
663 |
|
|
663 | b) if -u . and the source repository is local, the first parent of | |
664 |
|
|
664 | the source repository's working directory | |
665 |
|
|
665 | c) the changeset specified with -u (if a branch name, this means the | |
666 |
|
|
666 | latest head of that branch) | |
667 |
|
|
667 | d) the changeset specified with -r | |
668 |
|
|
668 | e) the tipmost head specified with -b | |
669 |
|
|
669 | f) the tipmost head specified with the url#branch source syntax | |
670 |
|
|
670 | g) the tipmost head of the default branch | |
671 |
|
|
671 | h) tip | |
672 | """ |
|
672 | """ | |
673 | if opts.get('noupdate') and opts.get('updaterev'): |
|
673 | if opts.get('noupdate') and opts.get('updaterev'): | |
674 | raise util.Abort(_("cannot specify both --noupdate and --updaterev")) |
|
674 | raise util.Abort(_("cannot specify both --noupdate and --updaterev")) |
General Comments 0
You need to be logged in to leave comments.
Login now