doc/ja/hg.1.ja.txt
changeset 1489 a64fdaf60f9d
child 1499 874efc57e00a
equal deleted inserted replaced
1488:08c7851969cc 1489:a64fdaf60f9d
       
     1 HG(1)
       
     2 =====
       
     3 Matt Mackall <mpm@selenic.com>
       
     4 
       
     5 ??????
       
     6 --
       
     7 hg - Mercurial ????????????????????????????????????
       
     8 
       
     9 ??????
       
    10 --
       
    11 'hg' [-v -d -q -y] <command> [command options] [files]
       
    12 
       
    13 ??????
       
    14 --
       
    15 hg(1) ??????????????? Mercurial ?????????????????????????????????????????????????????????
       
    16 ???????????????????????????
       
    17 
       
    18 ???????????????
       
    19 ----
       
    20 
       
    21 -R, --repository::
       
    22     ??????????????????????????????????????????????????????????????????
       
    23 
       
    24 --cwd::
       
    25     ?????????????????????????????????????????????
       
    26 
       
    27 -y, --noninteractive::
       
    28     ??????????????????????????????????????????????????????????????? 'yes' ??????????????????
       
    29     ????????????
       
    30 
       
    31 -q, --quiet::
       
    32     ???????????????????????????
       
    33 
       
    34 -v, --verbose::
       
    35     ??????????????????????????????????????????
       
    36 
       
    37 7--debug::
       
    38     ??????????????????????????????????????????
       
    39 
       
    40 --traceback::
       
    41     ??????????????????????????????????????????????????????
       
    42 
       
    43 --time::
       
    44     ????????????????????????????????????????????????????????????????????????
       
    45 
       
    46 --profile::
       
    47     ???????????????????????????????????????????????????????????????????????????
       
    48 
       
    49 --version::
       
    50     ??????????????????????????????????????????????????????
       
    51 
       
    52 -h, --help::
       
    53     ??????????????????????????????????????????
       
    54 
       
    55 ?????????????????????
       
    56 -------
       
    57 
       
    58 files ...::
       
    59     1???????????????????????????????????????????????????????????????; ????????????????????????
       
    60     ?????????????????????????????????????????????????????????????????????????????????
       
    61 
       
    62 path::
       
    63     ????????????????????????????????????????????????
       
    64 
       
    65 revision::
       
    66     ???????????????????????????????????????????????????, ??????, ??????????????????????????????
       
    67     ?????????????????????????????????????????????????????????????????????????????????????????????
       
    68     ?????????
       
    69 
       
    70 repository path::
       
    71     ?????????????????????????????????????????????????????????????????????????????? URI ??????
       
    72     ????????????URI ???????????????????????????????????? 2 ???????????????????????????
       
    73     http:// ???????????????old-http:// ????????????????????????????????????????????????
       
    74     ???????????????????????????????????????
       
    75 
       
    76 ????????????
       
    77 ----
       
    78 
       
    79 add [options] [files ...]::
       
    80     ?????????????????????????????????????????????????????????????????????????????????????????????
       
    81     ????????????
       
    82 
       
    83     ??????????????????????????????????????????????????????????????????????????????
       
    84 
       
    85     ?????????????????????????????????????????????????????????????????????????????????????????????
       
    86     ???????????????????????????????????????????????????
       
    87 
       
    88 addremove [options] [files ...]::
       
    89     ?????????????????????????????????????????????????????????????????????????????????????????????
       
    90     ????????????????????????
       
    91 
       
    92     ???????????????????????? .hgignore ???????????????????????????????????????????????????
       
    93     ????????????add ???????????????????????????????????????????????????????????????????????????
       
    94 
       
    95 annotate [-r <rev> -u -n -c] [files ...]::
       
    96     ?????????????????????????????????????????????????????????????????????????????? id ?????????
       
    97     ????????????
       
    98 
       
    99     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   100     ???????????????????????????
       
   101 
       
   102     -a ??????????????????????????????annotate ?????????????????????????????????????????????
       
   103     ??????????????????????????????????????????-a ???????????????annotate ??????????????????
       
   104     ??????????????????????????????????????????????????????????????????????????????
       
   105 
       
   106     ???????????????:
       
   107     -a, --text            ?????????????????????????????????????????????????????????
       
   108     -I, --include <pat>   ????????????????????????????????????????????????????????????
       
   109                           ??????
       
   110     -X, --exclude <pat>   ????????????????????????????????????????????????????????????
       
   111                           ?????????
       
   112     -r, --revision <rev>  ?????????????????????????????????????????????????????????
       
   113     -u, --user            ????????????????????????
       
   114     -c, --changeset       ???????????????????????????????????????
       
   115     -n, --number          ?????????????????????????????????????????????
       
   116                           (???????????????)
       
   117 
       
   118 bundle <file> <other>::
       
   119     (?????????)
       
   120 
       
   121     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   122     ?????????????????????????????????????????????????????????????????????
       
   123 
       
   124     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   125     unbundle ????????????????????????????????????????????? push ??? pull ????????????
       
   126     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   127     ????????????????????????????????????????????????????????? ".hg" ?????????
       
   128 
       
   129     import/export ???????????????????????????????????????????????????????????????????????????
       
   130     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   131 
       
   132 cat [options] <file ...>::
       
   133     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   134     ???????????????????????????????????????????????? tip ?????????????????????
       
   135 
       
   136     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   137     ??????????????????????????????????????????????????????????????????????????? export ??????
       
   138     ????????????????????????????????????????????????????????????????????????
       
   139 
       
   140     %s   ??????????????????????????????????????????
       
   141     %d   ????????????????????????????????????????????????????????????????????????????????????
       
   142          ?????????????????? "."
       
   143     %p   ????????????????????????????????????????????????????????????
       
   144 
       
   145     ???????????????:
       
   146     -I, --include <pat>       ???????????????????????????????????????????????????
       
   147                               ???????????????
       
   148     -X, --exclude <pat>       ???????????????????????????????????????????????????
       
   149                               ??????????????????
       
   150     -o, --output <filespec>   ???????????????????????????????????????????????????
       
   151                               ???
       
   152     -r, --rev <rev>           ????????????????????????????????????????????????
       
   153 
       
   154 clone [-U] <source> [dest]::
       
   155     ????????????????????????????????????????????????????????????????????????????????????
       
   156 
       
   157     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   158     ????????????????????????????????????
       
   159 
       
   160     ????????? pull ??????????????????????????????????????????????????????????????????
       
   161     .hg/hgrc ????????????????????????
       
   162 
       
   163     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   164     ????????????????????????????????????????????????
       
   165 
       
   166     ??????????????????:
       
   167     -U, --noupdate   ???????????????????????????????????? update ??????????????????
       
   168     -e, --ssh        ??????????????? ssh ??????????????????????????????
       
   169     --remotecmd      ?????????????????????????????? hg ??????????????????????????????
       
   170 
       
   171 commit [options] [files...]::
       
   172     ?????????????????????????????????????????????????????????????????????????????????
       
   173 
       
   174     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   175     ??????"hg status" ???????????????????????????????????????????????????????????????
       
   176 
       
   177     HGEDITOR ??? EDITOR ???????????????????????????????????????????????????????????????
       
   178     ???????????????????????????????????????????????????
       
   179 
       
   180     ???????????????:
       
   181 
       
   182     -A, --addremove       ?????????????????? addremove ??????????????????
       
   183     -I, --include <pat>   ????????????????????????????????????????????????????????????
       
   184                           ??????
       
   185     -X, --exclude <pat>   ????????????????????????????????????????????????????????????
       
   186                           ?????????
       
   187     -m, --message <text>  <text> ????????????????????????????????????????????????
       
   188                           ???
       
   189     -l, --logfile <file>  <file> ????????????????????????????????????????????????
       
   190                           ??????
       
   191     -d, --date <datecode> datecode ?????????????????????????????????????????????
       
   192                           ??????
       
   193     -u, --user <user>     user ??????????????????????????????????????????
       
   194 
       
   195     ??????: ci
       
   196 
       
   197 copy <source ...> <dest>::
       
   198     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   199     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   200     ??????????????????????????????????????????????????????????????????1????????????????????????
       
   201     ??????
       
   202 
       
   203     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   204     ??????????????????????????????????????????????????????????????? --after ???????????????
       
   205     ??????????????????????????????????????????????????????????????????????????????????????????
       
   206 
       
   207     ?????????????????????????????????????????????????????????????????????
       
   208 
       
   209     ??????: ????????????????????????????????????????????????????????????????????????????????????
       
   210     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   211     ?????????????????????????????????????????????????????????????????????
       
   212 
       
   213     ???????????????:
       
   214     -A, --after           ????????????????????????????????????????????????
       
   215     -I, --include <pat>   ????????????????????????????????????????????????????????????
       
   216                           ??????
       
   217     -X, --exclude <pat>   ????????????????????????????????????????????????????????????
       
   218                           ?????????
       
   219     -f, --force           ????????????????????????????????????????????????????????????
       
   220                           ?????????
       
   221     -p, --parents         ??????????????????????????????????????????????????????
       
   222     
       
   223     ??????: cp
       
   224 
       
   225 diff [-a] [-r revision] [-r revision] [files ...]::
       
   226     ??????????????????????????????????????????????????????????????????????????????
       
   227 
       
   228     ??????????????????????????? unified diff ??????????????????????????????
       
   229 
       
   230     2??????????????????????????????????????????????????????????????????????????????????????????
       
   231     ????????????????????????????????????1??????????????????????????????????????????????????????
       
   232     ????????????????????????????????????????????????????????????????????????????????? ????????????
       
   233     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   234     ???????????????
       
   235 
       
   236     -a ??????????????????????????????diff ???????????????????????????????????????????????????
       
   237     ????????????????????????????????????????????????-a ????????????????????????diff ?????????
       
   238     ??????????????????????????????????????????????????????????????????????????????????????????
       
   239 
       
   240     ???????????????:
       
   241     -a, --text           ?????????????????????????????????????????????????????????
       
   242     -I, --include <pat>  ????????????????????????????????????????????????????????????
       
   243                          ??????
       
   244     -X, --exclude <pat>  ????????????????????????????????????????????????????????????
       
   245                          ?????????
       
   246 
       
   247 export [-o filespec] [revision] ...::
       
   248     1?????????????????????????????????????????????????????????????????????????????????????????????
       
   249 
       
   250     ????????????????????????????????????????????????????????????: ??????????????????????????????
       
   251     ???????????????????????????????????????????????????????????????
       
   252 
       
   253     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   254     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   255     ???:
       
   256 
       
   257     %%   ??????????????? "%" ??????
       
   258     %H   ???????????????????????????????????? (40 ???????????? 16 ??????)
       
   259     %N   ???????????????????????????????????????
       
   260     %R   ???????????????????????????????????????????????????
       
   261     %b   ????????????????????????????????????????????????????????????
       
   262     %h   ??????????????????????????????????????????????????? (12 ???????????? 16 ??????)
       
   263     %n   0 ??? ??????????????? 1 ?????????????????????
       
   264     %r   0 ??? ??????????????????????????????????????????
       
   265 
       
   266     -a ??????????????????????????????diff ???????????????????????????????????????????????????
       
   267     ????????????????????????????????????????????????-a ????????????????????????diff ?????????
       
   268     ??????????????????????????????????????????????????????????????????????????????????????????
       
   269 
       
   270     ???????????????:
       
   271     -a, --text                ?????????????????????????????????????????????????????????
       
   272     -o, --output <filespec>   ??????????????????????????????????????????????????????
       
   273 
       
   274 forget [options] [files]::
       
   275     ??????????????????????????????????????? 'hg add' ????????????????????????
       
   276 
       
   277     ???????????????:
       
   278     -I, --include <pat> ???????????????????????????????????????????????????????????????
       
   279     -???X, --exclude <pat> ????????????????????????????????????????????????????????????
       
   280     -?????????
       
   281 
       
   282 grep [options] pattern [files]::
       
   283     ????????????????????????????????????????????????????????????????????????
       
   284 
       
   285     ????????????????????? Unix ??? grep ?????????????????????????????????????????????
       
   286     Python/Perl ???????????????????????????????????????????????????????????????????????????
       
   287     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   288     ???????????????????????????????????????????????????????????????
       
   289 
       
   290     ????????????????????????grep ????????????????????????????????????????????????????????????
       
   291     ??????????????????????????????????????????????????????????????????("-" ??????????????????
       
   292     ???????????????"+" ??????????????????????????????)???????????????????????????????????????
       
   293     ???????????????--all ????????????????????????????????????
       
   294 
       
   295     ???????????????:
       
   296     -0, --print0              ?????????????????? NUL ??????????????????
       
   297     -I, --include <pat>       ???????????????????????????????????????????????????
       
   298                               ???????????????
       
   299     -X, --exclude <pat>       ???????????????????????????????????????????????????
       
   300                               ??????????????????
       
   301         --all                 ???????????????????????????????????????????????????
       
   302                               ??????
       
   303     -i, --ignore-case         ???????????????????????????????????????????????????
       
   304                               ??????????????????????????????
       
   305     -l, --files-with-matches  ???????????????????????????????????????????????????
       
   306                               ?????????????????????
       
   307     -n, --line-number         ??????????????????????????????????????????
       
   308     -r, --rev <rev>           ???????????????????????????????????????????????????
       
   309                               ???
       
   310     -u, --user                ???????????????????????????????????????????????????
       
   311                               ?????????
       
   312 
       
   313 heads::
       
   314     ???????????????????????????????????????????????????????????????????????????
       
   315 
       
   316     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   317     ?????????????????????????????????????????????????????????????????????????????? update ???
       
   318     merge ??????????????????????????????????????????
       
   319 
       
   320 identify::
       
   321     ????????????????????????????????????????????????????????????????????????
       
   322 
       
   323     ?????????????????????????????????????????????1????????????2?????????????????????????????????
       
   324     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   325     ????????????????????????????????????????????????????????? + ??????????????????????????????
       
   326     ????????????????????????????????????????????????????????????
       
   327 
       
   328     ??????: id
       
   329 
       
   330 import [-p <n> -b <base> -f] <patches>::
       
   331     ???????????????????????????????????????????????????????????????????????????????????????
       
   332 
       
   333     ??????????????????????????????????????????????????????????????????import ??? -f ??????
       
   334     ???????????????????????????????????????????????????
       
   335 
       
   336     ????????????????????????????????????(??????????????? "From " ??? RFC 822 ?????????
       
   337     ?????????) ???????????????-f ????????????????????????????????????????????????????????????
       
   338     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   339     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   340     ????????????????????????????????????????????????????????????????????????????????? -f ?????????
       
   341     ??????????????????
       
   342 
       
   343     ???????????????:
       
   344     -p, --strip <n>   patch ??? ??????????????????????????????????????????????????????
       
   345                       ??????????????? patch ??????????????????????????????????????????
       
   346                       ??????
       
   347     -b <path>         ??????????????????????????????????????????????????????????????????
       
   348                       ????????????
       
   349     -f, --force       ??????????????????????????????????????????????????????????????????
       
   350                       ?????????????????????
       
   351 
       
   352     ??????: patch
       
   353 
       
   354 incoming [-p] [source]::
       
   355     ?????????????????????????????????????????????????????? pull ??????????????????????????????
       
   356     ??????????????????????????????????????????????????????????????????????????? pull ?????????
       
   357     ??????????????????pull ???????????????????????????????????????
       
   358 
       
   359     ?????????????????????????????????????????????????????????????????????????????????
       
   360 
       
   361     ???????????????:
       
   362     -p, --patch           ???????????????????????????
       
   363 
       
   364     ??????: in
       
   365 
       
   366 init [dest]::
       
   367     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   368     ???????????????????????????????????????????????????????????????????????????
       
   369 
       
   370     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   371     ??????
       
   372 
       
   373 locate [options] [files]::
       
   374     Mercurial ?????????????????????????????????????????????????????????????????????????????????
       
   375     ??????????????????????????????????????????
       
   376 
       
   377     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   378     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   379     ?????????
       
   380 
       
   381     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   382     ???????????????????????????????????????????????????
       
   383 
       
   384     ???????????????????????????????????? "xargs" ????????????????????????????????????
       
   385     "-0" ??????????????????????????????????????? "xargs" ?????????????????????????????????
       
   386     ??????????????????????????? "xargs" ???????????????????????????????????????????????????
       
   387     ????????????????????????????????????????????????????????????
       
   388 
       
   389     ???????????????:
       
   390 
       
   391     -0, --print0         xargs ???????????????????????????????????????????????? 
       
   392                          NUL ???????????????
       
   393     -f, --fullpath       ?????????????????????????????????????????????????????????
       
   394                          ?????????????????????
       
   395     -I, --include <pat>  ?????????????????????????????????????????????????????????
       
   396                          ?????????
       
   397     -r, --rev <rev>      rev ?????????????????????????????????????????????
       
   398     -X, --exclude <pat>  ????????????????????????????????????????????????????????????
       
   399                          ?????????
       
   400 
       
   401 log [-r revision ...] [-p] [files]::
       
   402     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   403     ?????????
       
   404 
       
   405     ????????????????????????????????????????????????????????????????????????: ??????????????????
       
   406     ??????id ??????????????????????????????????????????????????????????????????????????????
       
   407     ??????-v ?????????????????????????????????????????????????????????????????????????????????
       
   408     ???????????????????????????????????????????????????????????????????????????????????????
       
   409 
       
   410     ???????????????:
       
   411     -I, --include <pat>   ????????????????????????????????????????????????????????????
       
   412                           ??????
       
   413     -X, --exclude <pat>   ????????????????????????????????????????????????????????????
       
   414                           ?????????
       
   415     -r, --rev <A>         ????????????????????????????????????????????????????????????
       
   416                           ???
       
   417     -p, --patch           ???????????????????????????
       
   418 
       
   419     ??????: history
       
   420 
       
   421 manifest [revision]::
       
   422     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   423     ?????????????????????
       
   424 
       
   425     manifest ??????????????????????????????????????????????????????????????????????????????
       
   426     ?????????????????????????????????????????????tip ?????????????????????
       
   427 
       
   428 outgoing [-p] [dest]::
       
   429     ??????????????????????????????????????????????????????????????? push ?????????????????????
       
   430     ???????????????????????????????????????????????????????????????????????????????????? push
       
   431     ??????????????????????????? push ???????????????????????????????????????????????????
       
   432 
       
   433     ???????????????:
       
   434     -p, --patch           ???????????????????????????
       
   435 
       
   436     ??????: out
       
   437 
       
   438 parents::
       
   439     ??????????????????????????????????????????????????????????????????
       
   440 
       
   441 paths [NAME]::
       
   442     ????????????????????????????????? NAME ???????????????????????????????????????????????????
       
   443     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   444 
       
   445     ???????????? /etc/mercurial/hgrc ??? $HOME/.hgrc ??? [paths] ????????????
       
   446     ??????????????????????????????????????????????????????????????????????????????
       
   447     ??????.hg/hgrc ????????????????????????
       
   448 
       
   449 pull <repository path>::
       
   450     ??????????????????????????????????????????????????????????????????????????? pull ????????????
       
   451 
       
   452     ????????????????????????????????? URL ???????????????????????????????????????????????????
       
   453     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   454     ??????????????????????????????????????????????????????????????????????????????????????????
       
   455 
       
   456     ????????? URL ?????????????????????:
       
   457 
       
   458       local/filesystem/path
       
   459       http://[user@]host[:port][/path]
       
   460       https://[user@]host[:port][/path]
       
   461       ssh://[user@]host[:port][/path]
       
   462 
       
   463     SSH ?????????????????????????????????????????????????????????????????????????????????hg
       
   464     ???????????????????????????????????????SSH ????????????????????????????????????????????????
       
   465     ???????????????????????????????????????????????????????????????????????????????????????; ??????
       
   466     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   467     ????????????????????????????????? 2??????????????????????????????
       
   468 
       
   469     ???????????????:
       
   470     -u, --update   pull ???????????????????????????????????? tip ??????????????????
       
   471     -e, --ssh    ???????????? ssh ??????????????????????????????
       
   472     --remotecmd  ?????????????????????????????? hg ??????????????????????????????
       
   473 
       
   474 push <destination>::
       
   475     ????????????????????????????????????????????????????????????????????? push ????????????
       
   476 
       
   477     ????????? pull ???????????????????????????????????????????????????????????????????????????
       
   478     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   479     ???????????????????????????????????????????????????????????????????????????????????? pull
       
   480     ???????????????????????????
       
   481 
       
   482     ????????????????????????push ????????????????????????????????????????????????????????????
       
   483     ???????????????????????????????????????????????????????????????????????????????????? push
       
   484     ???????????? sync ???merge ?????????????????????????????????????????????
       
   485 
       
   486     ????????? URL ?????????????????????:
       
   487 
       
   488       local/filesystem/path
       
   489       ssh://[user@]host[:port][/path]
       
   490 
       
   491     SSH ????????????????????????????????????????????????????????????????????????????????? hg
       
   492     ???????????????????????????????????????
       
   493 
       
   494     ???????????????:
       
   495 
       
   496     -f, --force  update ??????????????????
       
   497     -e, --ssh    ??????????????? ssh ??????????????????????????????
       
   498     --remotecmd  ????????????????????????????????? hg ??????????????????????????????
       
   499 
       
   500 rawcommit [-p -d -u -F -m -l]::
       
   501     ???????????????????????????????????????????????????????????????????????????????????????
       
   502 
       
   503     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   504     ?????????????????? SCM ???????????????????????????????????????????????????
       
   505 
       
   506 recover::
       
   507     ??????????????? commit ??? pull ????????????????????????
       
   508 
       
   509     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   510     ???????????????????????? Mercurial ???????????????????????????????????????????????????
       
   511     ???????????????
       
   512 
       
   513 remove [options] [files ...]::
       
   514     ??????????????????????????????????????????????????????????????????????????????????????????
       
   515 
       
   516     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   517     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   518     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   519     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   520     ?????????
       
   521 
       
   522     ??????: rm
       
   523 
       
   524 rename <source ...> <dest>::
       
   525     ?????????????????????????????????????????????????????????????????????????????????; ?????????
       
   526     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   527     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   528     ????????????????????? 1 ??????????????????????????????
       
   529 
       
   530     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   531     ??????????????????????????????????????????????????????????????? --after ???????????????
       
   532     ??????????????????????????????????????????????????????????????????????????????????????????
       
   533 
       
   534     ?????????????????????????????????????????????????????????????????????
       
   535 
       
   536     ??????: ????????????????????????????????????????????????????????????????????????????????????
       
   537     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   538     ?????????????????????????????????????????????????????????????????????
       
   539 
       
   540     ???????????????:
       
   541     -A, --after        ????????????????????????????????????????????????
       
   542     -f, --force        ???????????????????????????????????????????????????????????????
       
   543                        ??????
       
   544     -p, --parents      ??????????????????????????????????????????????????????
       
   545 
       
   546     ??????: mv
       
   547 
       
   548 revert [names ...]::
       
   549     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   550     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   551     ?????????
       
   552 
       
   553     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   554     ????????????????????????????????????????????????????????????????????????
       
   555 
       
   556     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   557     ????????????????????????????????????????????????????????????
       
   558 
       
   559     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   560     ?????????????????????????????????????????????????????????
       
   561 
       
   562     ???????????????:
       
   563     -r, --rev <rev>       ???????????????????????????????????????????????????
       
   564     -n, --nonrecursive    ????????????????????????????????????????????????????????????
       
   565                           ?????????
       
   566 
       
   567 root::
       
   568     ???????????????????????????????????????????????????????????????????????????
       
   569 
       
   570 serve [options]::
       
   571     ??????????????? HTTP ?????????????????? pull ??????????????????????????????
       
   572 
       
   573     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   574     ?????????????????????????????????????????????????????????????????????????????? "-A" ???
       
   575     "-E" ??????????????????????????????????????????
       
   576 
       
   577     ???????????????:
       
   578     -A, --accesslog <file>   ?????????????????????????????????????????????????????????
       
   579                              ??????????????????
       
   580     -E, --errorlog <file>    ?????????????????????????????????????????????????????????
       
   581                              ???????????????
       
   582     -a, --address <addr>     ??????????????????????????????????????????
       
   583     -p, --port <n>           ??????????????????????????????????????? 
       
   584                              (???????????????: 8000)
       
   585     -n, --name <name>        ????????????????????????????????????????????????????????? 
       
   586                              (???????????????: working dir)
       
   587     -t, --templatedir <path> ????????????????????????????????????????????????
       
   588     -6, --ipv6               IPv4 ???????????? IPv6 ??????????????????
       
   589 
       
   590 status [options] [files]::
       
   591     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   592     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   593     ?????????????????????????????????????????????????????????????????????????????????
       
   594 
       
   595     ????????????????????????????????????????????????????????????:
       
   596 
       
   597     M = ?????????????????????
       
   598     A = ?????????????????????
       
   599     R = ?????????????????????
       
   600     ? = ??????????????????????????????????????????
       
   601 
       
   602     ???????????????:
       
   603 
       
   604     -m, --modified       ???????????????????????????????????????????????????
       
   605     -a, --added          ???????????????????????????????????????????????????
       
   606     -r, --removed        ???????????????????????????????????????????????????
       
   607     -u, --unknown        ?????????(?????????????????????????????????)??????????????????
       
   608                          ??????????????????
       
   609     -n, --no-status      ???????????????????????????????????????
       
   610     -0, --print0         xargs ???????????????????????????????????????????????? NUL
       
   611                          ???????????????
       
   612     -I, --include <pat>  ???????????????????????????????????????????????????????????????
       
   613                          ???
       
   614     -X, --exclude <pat>  ???????????????????????????????????????????????????????????????
       
   615                          ??????
       
   616 
       
   617 tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]::
       
   618     ??????????????????????????? <name> ????????????????????????????????????
       
   619 
       
   620     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   621     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   622     ????????????????????????????????????????????????????????????????????????????????????
       
   623 
       
   624     ???????????????????????????????????????????????????tip ?????????????????????
       
   625 
       
   626     ??????????????????????????????????????????????????????????????????????????????????????????
       
   627     ".hgtags" ?????????????????????????????????????????????????????????????????????????????????
       
   628     ??????????????????????????????????????????????????????????????????????????????
       
   629 
       
   630     ???????????????:
       
   631     -l, --local           ?????????????????????????????????
       
   632     -m, --message <text>  ????????????????????????????????????????????????????????????
       
   633                           ?????????????????????????????????
       
   634     -d, --date <datecode> ???????????????????????????????????????
       
   635     -u, --user <user>     ?????????????????????????????????????????????
       
   636 
       
   637     ??????: ????????????????????????????????????????????????????????????????????????????????????
       
   638     ???.  hg/localtags ??????????????????????????????????????????????????????????????????
       
   639     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   640 
       
   641 tags::
       
   642     ?????????????????????????????????????????????
       
   643 
       
   644     ???????????????????????????????????????????????????????????????????????????
       
   645 
       
   646 tip::
       
   647     tip ???????????????????????????????????????
       
   648 
       
   649 unbundle <file>::
       
   650     (?????????)
       
   651 
       
   652     bundle ?????????????????????????????????????????????????????????????????????????????????
       
   653     ?????????????????????
       
   654 
       
   655 undo::
       
   656     ????????? commit ??? pull ?????????????????????????????????
       
   657 
       
   658     ??????????????????????????? pull ??? commit ??????????????????????????????????????????
       
   659     ??????????????????????????????????????????
       
   660 
       
   661     ??????????????????????????????????????????????????????????????? 1?????? undo ????????????
       
   662     redo ?????????????????????
       
   663 
       
   664     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   665     ??????????????????????????????????????? pull ????????????????????????????????????????????????
       
   666     ???????????????????????????????????????????????????????????????
       
   667 
       
   668 update [-m -C] [revision]::
       
   669     ??????????????????????????????????????????????????????????????????????????????
       
   670 
       
   671     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   672     ??????????????????????????????????????????update ??????????????????????????????
       
   673 
       
   674     -m ??????????????????????????????????????????????????????
       
   675 
       
   676     -C ???????????????????????????????????????????????????????????????
       
   677 
       
   678     ???????????????:
       
   679     -m, --merge       ?????????????????????????????????
       
   680     -C, --clean       ???????????????????????????????????????????????????????????????
       
   681 
       
   682     ??????: up checkout co
       
   683 
       
   684 verify::
       
   685     ?????????????????????????????????????????????????????????
       
   686 
       
   687     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   688     ???????????????manifest, ???????????????????????????????????????????????????????????????
       
   689     ???????????????????????????????????????????????????????????????????????????????????????
       
   690 
       
   691 ??????????????????????????????
       
   692 ---------
       
   693 
       
   694     Mercurial ??????????????????????????????????????????????????????????????????????????????
       
   695     ????????????
       
   696 
       
   697     ????????????????????????Mercurial ??????????????????????????????????????????????????????
       
   698     glob ????????????????????????????????????
       
   699 
       
   700     ???????????????????????????????????????????????????????????????????????????
       
   701 
       
   702     ????????????????????????????????????????????????????????????????????????????????????
       
   703     "path:" ?????????????????????????????????????????????????????????????????????????????????
       
   704     ?????????????????????????????????????????????????????????????????????
       
   705 
       
   706     ?????? glob ??????????????????????????? "glob:" ???????????????????????????glob ???
       
   707     ??????????????????????????????????????????????????????: "*.c" ???????????? glob ??????
       
   708     ?????????????????????????????? ".c" ??????????????????????????????????????????????????????
       
   709 
       
   710     ??????????????????????????? glob ?????????????????????????????????????????????????????????
       
   711     ?????????????????????????????? "**" ??????"a ????????? b" ??????????????? "{a,b}"
       
   712     ?????????
       
   713 
       
   714     Perl/Python ?????????????????????????????????????????? "re:" ?????????????????????
       
   715     ????????????????????????????????????????????????????????????????????????????????????????????????
       
   716 
       
   717     ????????????:
       
   718 
       
   719     path:foo/bar   ???????????????????????????????????? foo ???????????????????????????
       
   720                    ??? bar ???????????????
       
   721     path:path:name "path:name" ???????????????????????????????????????????????????
       
   722                    ??????
       
   723 
       
   724     Glob ??????:
       
   725 
       
   726     glob:*.c       ????????????????????????????????? ".c" ???????????????????????????
       
   727     *.c            ????????????????????????????????? ".c" ???????????????????????????
       
   728     **.c           ?????????????????????????????????????????????????????????????????????
       
   729                     ".c" ???????????????????????????
       
   730     foo/*.c        ?????????????????? foo ?????? ".c" ???????????????????????????
       
   731     foo/**.c       ?????????????????? foo ?????????????????????????????????????????????
       
   732                    ??? ".c" ???????????????????????????
       
   733 
       
   734     ??????????????????:
       
   735 
       
   736     re:.*\.c$      ?????????????????????????????? ".c" ???????????????????????????
       
   737 
       
   738 
       
   739 ????????????????????????????????????
       
   740 -----------
       
   741 
       
   742     Mercurial ??????????????????????????????????????????????????????????????????????????????
       
   743     ??????
       
   744 
       
   745     ???????????????????????????????????????????????????????????????????????????????????????tip
       
   746     ?????????????????????????????????????????????-1 ??? tip ??????????????????
       
   747 
       
   748     40 ?????? 16 ???????????????????????????????????????????????????????????????????????????
       
   749     ????????????
       
   750 
       
   751     40 ?????????????????? 16 ???????????????????????????????????????????????????????????????
       
   752     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   753     ?????????????????????????????????????????????????????????????????????????????????
       
   754 
       
   755     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   756     ?????????????????????????????????????????????????????????????????? ":" ??????????????????
       
   757     ?????????????????????
       
   758 
       
   759     ?????????????????? "tip" ???????????????????????????????????????????????????????????????
       
   760     ???????????????
       
   761 
       
   762 ????????????????????????????????????
       
   763 -----------
       
   764 
       
   765     Mercurial ??? 1????????????????????????????????????????????????????????????????????????
       
   766     ????????????????????????????????????????????????????????? ":" ???????????????????????????
       
   767     ??????????????????????????????
       
   768 
       
   769     ???????????????????????? [BEGIN]:[END] ??? BEGIN ??? END ?????????????????????
       
   770     ??????????????????BEGIN ??? END ???????????????????????????????????? BEGIN ?????????
       
   771     ?????????????????????????????????????????????????????????????????? 0 ?????????????????????
       
   772     ??? END ???????????????????????????????????????????????? tip ???????????????????????????
       
   773     ?????? ":" ??? "????????????????????????" ?????????????????????
       
   774 
       
   775     ?????? BEGIN ??? END ??????????????????????????????????????????????????????????????????
       
   776     ???????????????
       
   777 
       
   778     ??????????????????????????????????????????????????????????????? 3:5 ??? 3,4,5 ?????????
       
   779     ????????????????????????????????????????????? 4:2 ??? 4,3,2 ??????????????????
       
   780 
       
   781 ????????????
       
   782 ----
       
   783 
       
   784 HGEDITOR::
       
   785     ??????????????????????????????????????????????????????????????????????????????????????????
       
   786     EDITOR ???????????????????????????
       
   787 
       
   788     (??????????????????, .hgrc ????????????????????????)
       
   789 
       
   790 HGMERGE::
       
   791     merge ????????????????????????????????????????????????????????????????????????????????????
       
   792     ??????3 ?????????????????????????????????: ???????????????????????????????????????????????????
       
   793     ?????????1 ?????????????????????????????????
       
   794 
       
   795     ???????????????????????????????????? "hgmerge" ??????????????? Mercurial ?????????
       
   796     ????????????????????????????????????????????????????????????????????????
       
   797 
       
   798     (??????????????????, .hgrc ????????????????????????)
       
   799 
       
   800 HGUSER::
       
   801     ????????????????????????????????????????????????????????????????????????
       
   802 
       
   803     (??????????????????, .hgrc ????????????????????????)
       
   804 
       
   805 EMAIL::
       
   806     ?????? HGUSER ???????????????????????????????????????????????????????????????????????????
       
   807     ?????????????????????
       
   808 
       
   809 LOGNAME::
       
   810     ?????? HGUSER ??? EMAIL ????????????????????????????????????????????????????????????
       
   811     ?????????LOGNAME ???('@hostname' ??????????????????)??????????????????
       
   812 
       
   813 EDITOR::
       
   814     ????????? hgmerge ?????????????????????????????????????????????????????????????????????
       
   815     HGEDITOR ??????????????????????????????????????????????????????????????????????????????
       
   816     ?????????????????????????????? 'vi' ?????????
       
   817 
       
   818 PYTHONPATH::
       
   819     ???????????????????????????????????????????????????????????????????????? Python ?????????
       
   820     ???????????????Mercurial ???????????????????????????????????????????????????????????????
       
   821     ????????????????????????????????????????????????????????????
       
   822 
       
   823 ????????????
       
   824 ----
       
   825  .hgignore::
       
   826     ?????????????????????(1????????????) hg ????????????????????????????????????????????????
       
   827     ??????????????????????????????????????????
       
   828 
       
   829  .hgtags::
       
   830     ?????????????????????????????????????????????????????????????????????????????????????????????
       
   831     ????????????????????????????????????????????????(??????????????????????????????????????????)???
       
   832     ???????????????
       
   833 
       
   834  /etc/mercurial/hgrc, $HOME/.hgrc, .hg/hgrc::
       
   835     ???????????????????????????????????????????????????????????????.hg/hgrc ?????????
       
   836     $HOME/.hgrc ???????????????????????????$HOME/.hgrc ??????????????????????????????
       
   837     /etc/mercurial/hgrc ???????????????????????????????????????????????????????????????
       
   838     ???????????????????????????????????? hgrc(5) ??????????????????????????????
       
   839 
       
   840 ??????
       
   841 --
       
   842 ????????????????????????????????????????????????????????????????????????????????????????????????
       
   843 (????????????????????????)???????????????????????????
       
   844 
       
   845 ????????????
       
   846 ----
       
   847 hgrc(5)
       
   848 
       
   849 ??????
       
   850 --
       
   851 Matt Mackall <mpm@selenic.com> ??????????????????????????????
       
   852 
       
   853 ?????????
       
   854 ---
       
   855 http://selenic.com/mercurial[????????????????????????]
       
   856 
       
   857 http://www.serpentine.com/mercurial[Wiki ?????????]
       
   858 
       
   859 http://selenic.com/hg[????????????????????????????????????]
       
   860 
       
   861 http://selenic.com/mailman/listinfo/mercurial[????????????????????????]
       
   862 
       
   863 ???????????????
       
   864 -----
       
   865 Copyright (C) 2005 Matt Mackall.
       
   866 ????????????????????????????????????????????? GNU ???????????????????????? (GPL) ????????????
       
   867 ?????????????????????