HG(1) Mercurial Manual HG(1) (NAME) hg - Mercurial (SYNOPSIS) hg command [option]... [argument]... (DESCRIPTION) hg Mercurial . (COMMAND ELEMENTS) files... File Name Patterns path revision (changeset) (tag) (hash) repository path URI (remote) . (OPTIONS) -R,--repository overlay bundle --cwd -y, --noninteractive -q, --quiet -v, --verbose --color (boolean always auto never debug) --config / ( 'section.name=value') --config-file / --debug --debugger (debugger) --encoding (: UTF-8) --encodingmode (: strict) --traceback (traceback) --time --profile (profile) --version -h, --help --hidden (hidden changesets) --pager (boolean always auto never) (: auto) [+] .SH " (COMMANDS)" (Repository creation) clone : hg clone [OPTION]... SOURCE [DEST] . (basename) . .hg/hgrc pull . ssh:// . ssh:// .hg/hgrc (remote) . (bookmark) '@' (checked out) . -u/--update -U/--noupdate (clone) . (changesets) -r/--rev -b/--branch . . ( 'clone src#rev dest') --pull . . --stream . (CPU) . . / (I/O) . --stream : Mercurial Mercurial . (Note) (tag) . (hardlinks) ( ). AFS . --pull . Mercurial (update) : a. null -U b. -u . c. -u ( (head) ) d. -r e. -b f. url#branch g. '@' h. (default) i. tip Mercurial . (hooks) changegroup (bundle) . (rolled back) . . hg help -e clonebundles . : o hg/: hg clone https://www.mercurial-scm.org/repo/hg o : hg clone project/ project-feature/ o ssh ( ): hg clone ssh://user@server//home/projects/alpha/ o (streaming) : hg clone --stream http://server/repo -u 1.5 o : hg clone -r 04e544 experimental/ good/ o ( ) : hg clone https://www.mercurial-scm.org/repo/hg/#stable URL hg help urls . 0 . : -U, --noupdate ( ) -u,--updaterev -r,--rev .TP -b,--branch --pull pull --uncompressed --stream ( ) --stream -e,--ssh ssh --remotecmd hg --insecure ( web.cacerts) [+] init : hg init [-e CMD] [--remotecmd CMD] [DEST] . . . ssh:// . hg help urls . 0 . : -e,--ssh ssh --remotecmd hg --insecure ( web.cacerts) (Remote repository management) incoming : hg incoming [-p] [-n] [-M] [-f] [-r REV]... [--bundle FILENAME] [SOURCE] / (pull). hg pull . pull . -B/--bookmarks . -v/--verbose : BM1 01234567890a added BM2 1234567890ab advanced BM3 234567890abc diverged BM4 34567890abcd changed (pull) : added pull advanced pull diverged pull changed added . incoming pull --bundle . : o : hg incoming -vp o bundle: hg in -vpM --bundle incoming.hg hg pull incoming.hg o bundle: hg in changes.hg -T "{desc|firstline}\n" 0 1 . : -f, --force -n, --newest-first --bundle (bundles) -r,--rev -B, --bookmarks .TP -b,--branch (pull) --remote-hidden (changesets) () -p, --patch (patch) -g, --git diff git -l,--limit -M, --no-merges --stat diffstat -G, --graph (DAG) --style