##// END OF EJS Templates
Added Japanese translations of manpages.
"Hidetaka Iwai " -
r1489:a64fdaf6 default
parent child Browse files
Show More
@@ -0,0 +1,21 b''
1 SOURCES=$(wildcard *.[0-9].ja.txt)
2 MAN=$(SOURCES:%.txt=%)
3 HTML=$(SOURCES:%.txt=%.html)
4
5 all: man html
6
7 man: $(MAN)
8
9 html: $(HTML)
10
11 %: %.xml
12 xmlto man $*.xml
13
14 %.xml: %.txt
15 -asciidoc -d manpage -b docbook -f docbook.ja.conf $*.txt
16
17 %.html: %.txt
18 asciidoc -b html4 $*.txt
19
20 clean:
21 $(RM) $(MAN:%.ja=%) $(MAN:%=%.xml) $(MAN:%=%.html)
This diff has been collapsed as it changes many lines, (583 lines changed) Show them Hide them
@@ -0,0 +1,583 b''
1 #
2 # docbook.conf
3 #
4 # Asciidoc configuration file.
5 # Modified docbook backend for Japanese.
6 #
7
8 [miscellaneous]
9 outfilesuffix=.xml
10 # Printable page width in pts.
11 pagewidth=380
12 pageunits=pt
13
14 [attributes]
15 basebackend=docbook
16 basebackend-docbook=
17
18 [replacements]
19 # Line break markup is dropped (there is no DocBook line break tag).
20 (?m)^(.*)\s\+$=\1
21 # Superscripts.
22 \^(.+?)\^=<superscript>\1</superscript>
23 # Subscripts.
24 ~(.+?)~=<subscript>\1</subscript>
25
26 [ruler-blockmacro]
27 # Only applies to HTML so don't output anything.
28
29 [image-inlinemacro]
30 <inlinemediaobject>
31 <imageobject>
32 <imagedata fileref="{target}"{width? contentwidth="{width}pt"}{height? contentdepth="{height}pt"}/>
33 </imageobject>
34 <textobject><phrase>{1={target}}</phrase></textobject>
35 </inlinemediaobject>
36
37 [image-blockmacro]
38 <figure{id? id="{id}"}><title>{title}</title>
39 {title%}<informalfigure{id? id="{id}"}>
40 <mediaobject>
41 <imageobject>
42 <imagedata fileref="{target}"{width? contentwidth="{width}pt"}{height? contentdepth="{height}pt"}/>
43 </imageobject>
44 <textobject><phrase>{1={target}}</phrase></textobject>
45 </mediaobject>
46 {title#}</figure>
47 {title%}</informalfigure>
48
49 [indexterm-inlinemacro]
50 # Inline index term.
51 # Generate separate index entries for primary, secondary and tertiary
52 # descriptions.
53 # Primary only.
54 {2%}<indexterm>
55 {2%} <primary>{1}</primary>
56 {2%}</indexterm>
57 # Primary and secondary.
58 {2#}{3%}<indexterm>
59 {2#}{3%} <primary>{1}</primary><secondary>{2}</secondary>
60 {2#}{3%}</indexterm>
61 {2#}{3%}<indexterm>
62 {2#}{3%} <primary>{2}</primary>
63 {2#}{3%}</indexterm>
64 # Primary, secondary and tertiary.
65 {3#}<indexterm>
66 <primary>{1}</primary><secondary>{2}</secondary><tertiary>{3}</tertiary>
67 {3#}</indexterm>
68 {3#}<indexterm>
69 <primary>{2}</primary><secondary>{3}</secondary>
70 {3#}</indexterm>
71 {3#}<indexterm>
72 <primary>{3}</primary>
73 {3#}</indexterm>
74
75 [indexterm2-inlinemacro]
76 # Inline index term.
77 # Single entry index term that is visible in the primary text flow.
78 <indexterm>
79 <primary>{1}</primary>
80 </indexterm>
81 {1}
82
83 [footnote-inlinemacro]
84 # Inline footnote.
85 <footnote><simpara>{0}</simpara></footnote>
86
87 [callout-inlinemacro]
88 # Inline callout.
89 <co id="{coid}"/>
90
91 [tags]
92 # Bulleted, numbered and labeled list tags.
93 ilist=<itemizedlist{id? id="{id}"}>{title?<title>{title}</title>}|</itemizedlist>
94 ilistitem=<listitem>|</listitem>
95 ilisttext=<simpara>|</simpara>
96 olist=<orderedlist{id? id="{id}"}>{title?<title>{title}</title>}|</orderedlist>
97 olist2=<orderedlist{id? id="{id}"} numeration="loweralpha">|</orderedlist>
98 olistitem=<listitem>|</listitem>
99 olisttext=<simpara>|</simpara>
100 vlist=<variablelist{id? id="{id}"}>{title?<title>{title}</title>}|</variablelist>
101 vlistentry=<varlistentry>|</varlistentry>
102 vlistterm=<term>|</term>
103 vlisttext=<simpara>|</simpara>
104 vlistitem=<listitem>|</listitem>
105 # Horizontal labeled list (implemented with two column table).
106 # Hardwired column widths to 30%,70% because the current crop of PDF
107 # generators do not auto calculate column widths.
108 hlist=<{title?table}{title!informaltable}{id? id="{id}"} tabstyle="{style=hlabeledlist}" pgwide="0" frame="none" colsep="0" rowsep="0">{title?<title>{title}</title>}<tgroup cols="2"><colspec colwidth="{1=3}*"/><colspec colwidth="{2=7}*"/><tbody valign="top">|</tbody></tgroup><{title?/table}{title!/informaltable}>
109 hlistentry=<row>|</row>
110 hlisttext=<simpara>|</simpara>
111 hlistterm=<entry><simpara>|</simpara></entry>
112 hlistitem=<entry>|</entry>
113
114 # Question and Answer list.
115 qlist=<qandaset{id? id="{id}"}>{title?<title>{title}</title>}|</qandaset>
116 qlistentry=<qandaentry>|</qandaentry>
117 qlistterm=<question><simpara>|</simpara></question>
118 qlistitem=<answer>|</answer>
119 qlisttext=<simpara>|</simpara>
120 # Bibliography list.
121 blist=|
122 blistitem=<bibliomixed>|</bibliomixed>
123 blisttext=<bibliomisc>|</bibliomisc>
124 # Glossary list.
125 glist=|
126 glistentry=<glossentry>|</glossentry>
127 glistterm=<glossterm>|</glossterm>
128 glistitem=<glossdef>|</glossdef>
129 glisttext=<simpara>|</simpara>
130 # Callout list.
131 colist=<calloutlist{id? id="{id}"}>{title?<title>{title}</title>}|</calloutlist>
132 colistitem=<callout arearefs="{coids}">|</callout>
133 colisttext=<simpara>|</simpara>
134
135 # Quoted text
136 emphasis=<emphasis>|</emphasis>
137 strong=<emphasis role="strong">|</emphasis>
138 monospaced=<literal>|</literal>
139 quoted={amp}#8220;|{amp}#8221;
140
141 # Inline macros
142 [http-inlinemacro]
143 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
144 [https-inlinemacro]
145 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
146 [ftp-inlinemacro]
147 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
148 [file-inlinemacro]
149 <ulink url="{name}:{target}">{0={name}:{target}}</ulink>
150 [mailto-inlinemacro]
151 <ulink url="{name}:{target}">{0={target}}</ulink>
152 #<email>{target}</email>
153 [link-inlinemacro]
154 <ulink url="{target}">{0={target}}</ulink>
155 # anchor:id[text]
156 [anchor-inlinemacro]
157 <anchor id="{target}" xreflabel="{0=[{target}]}"/>
158 # [[id,text]]
159 [anchor2-inlinemacro]
160 <anchor id="{1}" xreflabel="{2=[{1}]}"/>
161 # [[[id]]]
162 [anchor3-inlinemacro]
163 <anchor id="{1}" xreflabel="[{1}]"/>[{1}]
164 # xref:id[text]
165 [xref-inlinemacro]
166 <link linkend="{target}">{0}</link>
167 {2%}<xref linkend="{target}"/>
168 # <<id,text>>
169 [xref2-inlinemacro]
170 <link linkend="{1}">{2}</link>
171 {2%}<xref linkend="{1}"/>
172
173
174 # Special word macros
175 [emphasizedwords]
176 <emphasis>{words}</emphasis>
177 [monospacedwords]
178 <literal>{words}</literal>
179 [strongwords]
180 <emphasis role="strong">{words}</emphasis>
181
182 # Paragraph substitution.
183 [paragraph]
184 <formalpara{id? id="{id}"}><title>{title}</title><para>
185 {title%}<simpara{id? id="{id}"}>
186 |
187 {title%}</simpara>
188 {title#}</para></formalpara>
189 {empty}
190
191 [admonitionparagraph]
192 <{name}{id? id="{id}"}><simpara>|</simpara></{name}>
193
194 [literalparagraph]
195 # The literal block employs the same markup.
196 template::[literalblock]
197
198 [verseparagraph]
199 template::[verseblock]
200
201 # Delimited blocks.
202 [literalblock]
203 <example><title>{title}</title>
204 <literallayout{id? id="{id}"} class="{font=monospaced}">
205 |
206 </literallayout>
207 {title#}</example>
208
209 [listingblock]
210 <example><title>{title}</title>
211 <screen>
212 |
213 </screen>
214 {title#}</example>
215
216 [verseblock]
217 <formalpara{id? id="{id}"}><title>{title}</title><para>
218 {title%}<literallayout{id? id="{id}"}>
219 {title#}<literallayout>
220 |
221 </literallayout>
222 {title#}</para></formalpara>
223
224 [sidebarblock]
225 <sidebar{id? id="{id}"}>
226 <title>{title}</title>
227 |
228 </sidebar>
229
230 [backendblock]
231 |
232
233 [quoteblock]
234 # The epigraph element may be more appropriate than blockquote.
235 <blockquote{id? id="{id}"}>
236 <title>{title}</title>
237 <attribution>
238 {attribution}
239 <citetitle>{citetitle}</citetitle>
240 </attribution>
241 |
242 </blockquote>
243
244 [exampleblock]
245 <{title?example}{title!informalexample}{id? id="{id}"}>
246 <title>{title}</title>
247 |
248 </{title?example}{title!informalexample}>
249
250 [admonitionblock]
251 <{name}{id? id="{id}"}>
252 <title>{title}</title>
253 |
254 </{name}>
255
256 # Tables.
257 [tabledef-default]
258 template=table
259 colspec=<colspec colwidth="{colwidth}{pageunits}" align="{colalign}"/>
260 bodyrow=<row>|</row>
261 bodydata=<entry>|</entry>
262
263 [table]
264 <{title?table}{title!informaltable}{id? id="{id}"} pgwide="0"
265 frame="{frame=topbot}"
266 {grid%rowsep="0" colsep="0"}
267 {eval:\{"none":"rowsep=\"0\" colsep=\"0\"", "cols":"rowsep=\"0\" colsep=\"1\"", "all":"rowsep=\"1\" colsep=\"1\"", "rows":"rowsep=\"1\" colsep=\"0\"" \}["{grid}"]}
268 >
269 <title>{title}</title>
270 <tgroup cols="{cols}">
271 {colspecs}
272 {headrows#}<thead>
273 {headrows}
274 {headrows#}</thead>
275 {footrows#}<tfoot>
276 {footrows}
277 {footrows#}</tfoot>
278 <tbody>
279 {bodyrows}
280 </tbody>
281 </tgroup>
282 </{title?table}{title!informaltable}>
283
284 [specialsections]
285 ifdef::doctype-article[]
286 ^Abstract$=sect-abstract
287 endif::doctype-article[]
288
289 ifdef::doctype-book[]
290 ^Colophon$=sect-colophon
291 ^Dedication$=sect-dedication
292 ^Preface$=sect-preface
293 endif::doctype-book[]
294
295 ^Index$=sect-index
296 ^(Bibliography|References)$=sect-bibliography
297 ^Glossary$=sect-glossary
298 ^Appendix [A-Z][:.](?P<title>.*)$=sect-appendix
299
300 # Special sections.
301 [sect-preface]
302 <preface{id? id="{id}"}>
303 <title>{title}</title>
304 |
305 </preface>
306
307 [sect-index]
308 <index{id? id="{id}"}>
309 <title>{title}</title>
310 |
311 </index>
312
313 [sect-bibliography]
314 <bibliography{id? id="{id}"}>
315 <title>{title}</title>
316 |
317 </bibliography>
318
319 [sect-glossary]
320 <glossary{id? id="{id}"}>
321 <title>{title}</title>
322 |
323 </glossary>
324
325 [sect-appendix]
326 <appendix{id? id="{id}"}>
327 <title>{title}</title>
328 |
329 </appendix>
330
331
332 [header-declarations]
333 <?xml version="1.0" encoding="{encoding}"?>
334 <!DOCTYPE {eval:\{"article":"article", "book":"book", "manpage":"refentry"\}["{doctype}"]} PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
335
336 #-------------------------
337 # article document type
338 #-------------------------
339 ifdef::doctype-article[]
340
341 [header]
342 template::[header-declarations]
343
344 <article lang="ja">
345 {doctitle#}<articleinfo>
346 <title>{doctitle}</title>
347 <date>{date}</date>
348 {authored#}<author>
349 <firstname>{firstname}</firstname>
350 <othername>{middlename}</othername>
351 <surname>{lastname}</surname>
352 <affiliation><address><email>{email}</email></address></affiliation>
353 {authored#}</author>
354
355 # If file named like source document with -revhistory.xml suffix exists
356 # include it as the document history, otherwise use current revision.
357 {revisionhistory#}{include:{docdir}/{docname}-revhistory.xml}
358 {revisionhistory%}<revhistory><revision><revnumber>{revision}</revnumber><date>{date}</date>{revremark?<revremark>{revremark}</revremark>}</revision></revhistory>
359
360 <corpname>{companyname}</corpname>
361 {doctitle#}</articleinfo>
362
363 [footer]
364 </article>
365
366 [preamble]
367 # Untitled elements between header and first section title.
368 |
369
370 [sect-abstract]
371 <abstract{id? id="{id}"}>
372 |
373 </abstract>
374
375 [sect1]
376 <section{id? id="{id}"}>
377 <title>{title}</title>
378 |
379 </section>
380
381 [sect2]
382 <section{id? id="{id}"}>
383 <title>{title}</title>
384 |
385 </section>
386
387 [sect3]
388 <section{id? id="{id}"}>
389 <title>{title}</title>
390 |
391 </section>
392
393 [sect4]
394 <section{id? id="{id}"}>
395 <title>{title}</title>
396 |
397 </section>
398
399 endif::doctype-article[]
400
401 #-------------------------
402 # manpage document type
403 #-------------------------
404 ifdef::doctype-manpage[]
405
406 [replacements]
407 # The roff format does not substitute special characters so just print them as
408 # text.
409 \(C\)=(C)
410 \(TM\)=(TM)
411
412 [header]
413 template::[header-declarations]
414 <refentry>
415 <refmeta>
416 <refentrytitle>{mantitle}</refentrytitle>
417 <manvolnum>{manvolnum}</manvolnum>
418 </refmeta>
419 <refnamediv>
420 <refname>{manname}</refname>
421 <refpurpose>{manpurpose}</refpurpose>
422 </refnamediv>
423
424 [footer]
425 </refentry>
426
427 # Section macros
428 [sect-synopsis]
429 <refsynopsisdiv{id? id="{id}"}>
430 |
431 </refsynopsisdiv>
432
433 [sect1]
434 <refsect1{id? id="{id}"}>
435 <title>{title}</title>
436 |
437 </refsect1>
438
439 [sect2]
440 <refsect2{id? id="{id}"}>
441 <title>{title}</title>
442 |
443 </refsect2>
444
445 [sect3]
446 <refsect3{id? id="{id}"}>
447 <title>{title}</title>
448 |
449 </refsect3>
450
451 endif::doctype-manpage[]
452
453 #-------------------------
454 # book document type
455 #-------------------------
456 ifdef::doctype-book[]
457
458 [header]
459 template::[header-declarations]
460
461 <book lang="ja">
462 {doctitle#}<bookinfo>
463 <title>{doctitle}</title>
464 <date>{date}</date>
465 {authored#}<author>
466 <firstname>{firstname}</firstname>
467 <othername>{middlename}</othername>
468 <surname>{lastname}</surname>
469 <affiliation><address><email>{email}</email></address></affiliation>
470 {authored#}</author>
471
472 # If file named like source document with -revhistory.xml suffix exists
473 # include it as the document history, otherwise use current revision.
474 {revisionhistory#}{include:{docdir}/{docname}-revhistory.xml}
475 {revisionhistory%}<revhistory><revision><revnumber>{revision}</revnumber><date>{date}</date>{revremark?<revremark>{revremark}</revremark>}</revision></revhistory>
476
477 <corpname>{companyname}</corpname>
478 {doctitle#}</bookinfo>
479
480 [footer]
481 </book>
482
483 [preamble]
484 # Preamble is not allowed in DocBook book so wrap it in a preface.
485 <preface{id? id="{id}"}>
486 <title>Preface</title>
487 |
488 </preface>
489
490 [sect-dedication]
491 <dedication{id? id="{id}"}>
492 |
493 </dedication>
494
495 [sect-colophon]
496 <colophon{id? id="{id}"}>
497 |
498 </colophon>
499
500 [sect0]
501 <part{id? id="{id}"}>
502 <title>{title}</title>
503 |
504 </part>
505
506 [sect1]
507 <chapter{id? id="{id}"}>
508 <title>{title}</title>
509 |
510 </chapter>
511
512 [sect2]
513 <section{id? id="{id}"}>
514 <title>{title}</title>
515 |
516 </section>
517
518 [sect3]
519 <section{id? id="{id}"}>
520 <title>{title}</title>
521 |
522 </section>
523
524 [sect4]
525 <section{id? id="{id}"}>
526 <title>{title}</title>
527 |
528 </section>
529
530 endif::doctype-book[]
531
532 ifdef::sgml[]
533 #
534 # Optional DocBook SGML.
535 #
536 # Most of the differences between DocBook XML and DocBook SGML boils
537 # down to the empty element syntax: SGML does not like the XML empty
538 # element <.../> syntax, use <...> instead.
539 #
540 [miscellaneous]
541 outfilesuffix=.sgml
542
543 [header-declarations]
544 <!DOCTYPE {eval:\{"article":"article", "book":"book", "manpage":"refentry"\}["{doctype}"]} PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
545
546 [tabledef-default]
547 colspec=<colspec colwidth="{colwidth}{pageunits}" align="{colalign}">
548
549 [image-inlinemacro]
550 <inlinemediaobject>
551 <imageobject>
552 <imagedata fileref="{target}"{width? width="{width}pt"}{height? depth="{height}pt"}>
553 </imageobject>
554 <textobject><phrase>{1={target}}</phrase></textobject>
555 </inlinemediaobject>
556
557 [image-blockmacro]
558 <figure><title>{title}</title>
559 {title%}<informalfigure>
560 <mediaobject>
561 <imageobject>
562 <imagedata fileref="{target}"{width? width="{width}pt"}{height? depth="{height}pt"}>
563 </imageobject>
564 <textobject><phrase>{1={target}}</phrase></textobject>
565 </mediaobject>
566 {title#}</figure>
567 {title%}</informalfigure>
568
569 # Inline macros
570 [xref-inlinemacro]
571 <link linkend="{target}">{0}</link>
572 {2%}<xref linkend="{target}">
573 [xref2-inlinemacro]
574 # <<id,text>>
575 <link linkend="{1}">{2}</link>
576 {2%}<xref linkend="{1}">
577 [anchor-inlinemacro]
578 <anchor id="{target}" xreflabel="{0=[{target}]}">
579 [anchor2-inlinemacro]
580 # [[id,text]]
581 <anchor id="{1}" xreflabel="{2=[{1}]}">
582
583 endif::sgml[]
This diff has been collapsed as it changes many lines, (867 lines changed) Show them Hide them
@@ -0,0 +1,867 b''
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 ?????????????????????
@@ -0,0 +1,37 b''
1 HGMERGE(1)
2 ==========
3 Matt Mackall <mpm@selenic.com>
4 v0.1, 27 May 2005
5
6 ??????
7 --
8 hgmerge - Mercurial ?????????????????????????????????????????????????????????????????????
9 ????????????????????????????????????????????????
10
11 ??????
12 --
13 'hgmerge' local ancestor remote
14
15 ??????
16 --
17 hgmerge(1) ??????????????? Mercurial ???????????????????????????????????????????????????
18 ?????????????????????????????????????????????????????????????????????????????? kdiff3,
19 merge(1), tkdiff(1), ?????????????????? diff(1) ??? patch(1) ?????????????????????
20 ?????????????????????????????????????????????????????????
21
22 hgmerge(1) ??? Mercurial ???????????????????????????????????????????????????
23 HGMERGE ??????????????????????????????????????????????????????
24
25 ??????
26 --
27 Vincent Danjean <Vincent.Danjean@free.fr> ?????????????????????????????????
28
29 ????????????
30 --
31 hg(1) - Mercurial ???????????????????????????????????????????????????????????????
32
33 ???????????????
34 ----
35 Copyright (C) 2005 Matt Mackall.
36 ????????????????????????????????????????????? GNU ???????????????????????? (GPL) ????????????
37 ?????????????????????
@@ -0,0 +1,204 b''
1 HGRC(5)
2 =======
3 Bryan O'Sullivan <bos@serpentine.com>
4
5 ??????
6 --
7 hgrc - Mercurial ?????????????????????
8
9 ??????
10 --
11
12 Mercurial ????????????????????????????????????????????????????????????????????????????????????
13 ???????????????????????????
14
15 ????????????
16 ----
17
18 Mercurial ??? 3?????????????????????????????????????????????:
19
20 /etc/mercurial/hgrc::
21 ?????????????????????????????????????????????????????????????????????????????????????????????
22 ????????????????????????????????? Mercurial ????????????????????????????????????
23
24 $HOME/.hgrc::
25 ?????????????????????????????????????????????????????????????????????????????????
26 Mercurial ??????????????????????????????????????????????????????????????????????????????
27 ?????????????????????????????????
28
29 <repo>/.hg/hgrc::
30 ?????????????????????????????????????????????????????????????????????????????????????????????
31 ???????????????????????????????????????????????????????????? "clone" ??????????????????
32 ?????????????????????????????????????????????????????????????????????????????????????????????
33 ???????????????????????????????????????
34
35 ??????
36 --
37
38 ????????????????????? "[???????????????]" ??????????????????????????????????????????????????????
39 ??????"??????: ???"?????????????????????????????????: "??????=???"????????????????????????
40
41 [spam]
42 eggs=ham
43 green=
44 eggs
45
46 ?????????1???????????????????????????????????????????????????????????????????????????????????????
47 ????????????????????????????????????????????????????????????
48
49 ??????????????????????????????????????????????????????????????????????????????????????????
50
51 ???????????????????????????????????????????????????????????? DEFAULT ????????????????????????
52 ??????????????????????????????????????????????????????????????????????????????
53
54 "#" ??? ";" ?????????????????????????????????????????????????????????????????????????????????
55 ????????????
56
57 ???????????????
58 -----
59
60 ???????????????????????? Merucurial ??? "hgrc" ??????????????????????????????????????????
61 ???????????????????????????????????????????????????????????????????????????????????????????????????
62 ????????????
63
64 decode/encode::
65 checkout/checkin ?????????????????????????????????????????????????????????????????????
66 ????????????????????????????????????????????????????????????/?????????????????????????????????
67 ??????
68
69 ????????????????????????????????????????????????????????????????????????????????????????????????
70 ????????????????????????????????????????????????????????????????????????????????????????????????
71 ???????????????????????????????????????????????????
72
73 ???:
74
75 [encode]
76 # delta ?????????????????????????????????????????????????????? gzip ???????????????
77 # ???????????????
78 # ??????: ???????????????????????????????????????????????????????????????????????????
79 *.gz = gunzip
80
81 [decode]
82 # ??????????????????????????????????????????????????????????????? gzip ?????????????????????
83 *.gz = gzip
84
85 hooks::
86 ????????????????????????????????????????????????????????????????????????????????????????????????
87 ??????????????????
88 changegroup;;
89 push ??? pull ????????????????????????????????????????????????????????????????????????
90 commit;;
91 ?????????????????????????????????????????????????????????????????????????????????????????????
92 ?????????????????? ID ?????????????????????
93 precommit;;
94 ????????????????????????????????????????????????????????? 0 ??????????????????????????????
95 ???????????????????????????????????????????????????????????????????????????
96
97 http_proxy::
98 HTTP ????????????????????????????????????????????? Mercurial ???????????????????????????
99 ????????????????????????????????????
100 host;;
101 ???????????????????????????????????????(??????????????????)????????????????????????
102 "myproxy:8000"???????????????
103 no;;
104 ?????????????????????????????????????????????????????????????????????????????????????????????
105 ?????????????????????
106 passwd;;
107 ????????????????????????????????????????????????????????????????????????????????????
108 user;;
109 ?????????????????????????????????????????????????????????????????????????????????
110
111 paths::
112 ????????????????????????????????????????????????????????????????????????????????????????????????
113 ??????????????????????????????????????????????????? URL ?????????
114
115 ui::
116 ???????????????????????????????????????????????????
117 debug;;
118 ???????????????????????????????????????True ??? False ?????????????????????????????????
119 ?????? False ?????????
120 editor;;
121 ????????????????????????????????????????????????????????????????????? $EDITOR ???
122 "vi" ?????????
123 interactive;;
124 ??????????????????????????????????????????????????????????????????True ??? False ??????
125 ????????????????????????????????? True ?????????
126 merge;;
127 ???????????? merge ????????????????????????????????????????????????????????????????????????
128 ?????????????????? "hgmerge" ?????????
129 quiet;;
130 ????????????????????????????????????????????????True ??? False ???????????????????????????
131 ????????? False ?????????
132 remotecmd;;
133 clone/push/pull ?????????????????????????????????????????????????????????????????????
134 ?????? 'hg' ?????????
135 ssh;;
136 SSH ???????????????????????????????????????????????????????????? 'ssh' ?????????
137 username;;
138 ????????????????????????????????????????????????????????????????????????????????????????????????
139 ?????????????????????????????????????????????????????????????????? "Fred Widget
140 <fred@example.com>" ????????????????????????????????? $EMAIL ???
141 username@hostname ?????????
142 verbose;;
143 ????????????????????????????????????????????????True ??? False ???????????????????????????
144 ????????? False ?????????
145
146 web::
147 ???????????????????????????????????????????????????
148 accesslog;;
149 ?????????????????????????????????????????????????????????????????????????????????
150 address;;
151 ?????????????????????????????????????????????????????????????????????????????????????????????
152 ??????
153 allowbz2;;
154 ??????????????????????????????????????? .tar.bz2 ???????????????????????????????????????
155 ????????????????????????????????? false ?????????
156 allowgz;;
157 ??????????????????????????????????????? .tar.gz ???????????????????????????????????????
158 ????????????????????????????????? false ?????????
159 allowpull;;
160 ????????????????????? pull ??????????????????????????????????????????????????? true ???
161 ??????
162 allowzip;;
163 ??????????????????????????????????????? .zip ?????????????????????????????????????????????
164 ??????????????????????????? false ??????????????????????????????????????????????????????
165 ?????????
166 description;;
167 ?????????????????????????????????????????????????????????????????????????????????????????????
168 ????????????"unknown" ?????????
169 errorlog;;
170 ???????????????????????????????????????????????????????????????????????????????????????
171 ipv6;;
172 IPv6 ??????????????????????????????????????????????????? false ?????????
173 name;;
174 ?????????????????????????????????????????????????????????????????????????????????????????????
175 ???????????????????????????????????????????????????
176 maxchanges;;
177 ????????????????????????????????????????????????????????????????????????????????? 10 ?????????
178 maxfiles;;
179 ??????????????????????????????????????????????????????????????????????????????????????????
180 10 ?????????
181 port;;
182 ???????????????????????????????????????????????? ??? 8000 ?????????
183 style;;
184 ???????????????????????????????????????????????????????????????
185 templates;;
186 HTML ????????????????????????????????????????????????????????????????????????????????????
187 ?????????????????????
188
189 ??????
190 --
191 Bryan O'Sullivan <bos@serpentine.com>.
192
193 Mercurial ??? Matt Mackall <mpm@selenic.com> ??????????????????????????????
194
195 ????????????
196 ----
197 hg(1)
198
199 COPYING
200 -------
201 ???????????????????????????????????? 2005 Bryan O'Sullivan ?????????
202 Mercurial ??????????????? 2005 Matt Mackall ?????????
203 ????????????????????????????????????????????? GNU ???????????????????????? (GPL) ????????????
204 ?????????????????????
General Comments 0
You need to be logged in to leave comments. Login now