diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-03 11:25:13 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-03 11:25:13 +0000 |
commit | 458120dd40db6b4df55a4e96b650e16798ef06a0 (patch) | |
tree | 8f82685be24fef97e715c6f5ca4c68d34d5074ee /sys/src/cmd/hg/doc | |
parent | 3a742c699f6806c1145aea5149bf15de15a0afd7 (diff) |
add hg and python
Diffstat (limited to 'sys/src/cmd/hg/doc')
-rw-r--r-- | sys/src/cmd/hg/doc/Makefile | 48 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/README | 17 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/common.txt | 8 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/gendoc.py | 115 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/hg.1.txt | 96 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/hgignore.5.txt | 111 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/hgrc.5.txt | 934 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/ja/Makefile | 21 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/ja/docbook.ja.conf | 583 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/ja/docbook.ja.xsl | 23 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/ja/hg.1.ja.txt | 867 | ||||
-rw-r--r-- | sys/src/cmd/hg/doc/ja/hgrc.5.ja.txt | 204 |
12 files changed, 3027 insertions, 0 deletions
diff --git a/sys/src/cmd/hg/doc/Makefile b/sys/src/cmd/hg/doc/Makefile new file mode 100644 index 000000000..02f5fef36 --- /dev/null +++ b/sys/src/cmd/hg/doc/Makefile @@ -0,0 +1,48 @@ +SOURCES=$(wildcard *.[0-9].txt) +MAN=$(SOURCES:%.txt=%) +HTML=$(SOURCES:%.txt=%.html) +PREFIX=/usr/local +MANDIR=$(PREFIX)/share/man +INSTALL=install -c -m 644 +PYTHON=python +RST2HTML=rst2html +RST2MAN=rst2man + +all: man html + +man: $(MAN) + +html: $(HTML) + +hg.1.txt: hg.1.gendoc.txt + touch hg.1.txt + +hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py + ${PYTHON} gendoc.py > $@ + +%: %.txt common.txt + # add newline after all literal blocks and fix backslash escape + $(RST2MAN) $*.txt \ + | sed -e 's/^\.fi$$/.fi\n/' \ + | sed -e 's/\\fB\\\\fP/\\fB\\e\\fP/' \ + > $* + +%.html: %.txt common.txt + $(RST2HTML) $*.txt > $*.html + +MANIFEST: man html + # tracked files are already in the main MANIFEST + $(RM) $@ + for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \ + echo "doc/$$i" >> $@ ; \ + done + +install: man + for i in $(MAN) ; do \ + subdir=`echo $$i | sed -n 's/^.*\.\([0-9]\)$$/man\1/p'` ; \ + mkdir -p $(DESTDIR)$(MANDIR)/$$subdir ; \ + $(INSTALL) $$i $(DESTDIR)$(MANDIR)/$$subdir ; \ + done + +clean: + $(RM) $(MAN) $(MAN:%=%.html) *.[0-9].gendoc.txt MANIFEST diff --git a/sys/src/cmd/hg/doc/README b/sys/src/cmd/hg/doc/README new file mode 100644 index 000000000..d28170dac --- /dev/null +++ b/sys/src/cmd/hg/doc/README @@ -0,0 +1,17 @@ +Mercurial's documentation is kept in reStructuredText format, which is +a simple plain text format that's easy to read and edit: + + http://docutils.sourceforge.net/rst.html + +It's also convertible to a variety of other formats including standard +UNIX man page format and HTML. + +To do this, you'll need to install the rst2html and rst2man tools, +which are part of Docutils: + + http://docutils.sourceforge.net/ + +The rst2man tool is still in their so-called "sandbox". The above page +has links to tarballs of both Docutils and their sandbox. + +Use the Makefile in this directory to generate the man and HTML pages. diff --git a/sys/src/cmd/hg/doc/common.txt b/sys/src/cmd/hg/doc/common.txt new file mode 100644 index 000000000..936fc203b --- /dev/null +++ b/sys/src/cmd/hg/doc/common.txt @@ -0,0 +1,8 @@ +.. Common link and substitution definitions. + +.. |hg(1)| replace:: **hg**\ (1) +.. _hg(1): hg.1.html +.. |hgrc(5)| replace:: **hgrc**\ (5) +.. _hgrc(5): hgrc.5.html +.. |hgignore(5)| replace:: **hgignore**\ (5) +.. _hgignore(5): hgignore.5.html diff --git a/sys/src/cmd/hg/doc/gendoc.py b/sys/src/cmd/hg/doc/gendoc.py new file mode 100644 index 000000000..c0b0ec452 --- /dev/null +++ b/sys/src/cmd/hg/doc/gendoc.py @@ -0,0 +1,115 @@ +import os, sys, textwrap +# import from the live mercurial repo +sys.path.insert(0, "..") +# fall back to pure modules if required C extensions are not available +sys.path.append(os.path.join('..', 'mercurial', 'pure')) +from mercurial import demandimport; demandimport.enable() +from mercurial.commands import table, globalopts +from mercurial.i18n import _ +from mercurial.help import helptable + +def get_desc(docstr): + if not docstr: + return "", "" + # sanitize + docstr = docstr.strip("\n") + docstr = docstr.rstrip() + shortdesc = docstr.splitlines()[0].strip() + + i = docstr.find("\n") + if i != -1: + desc = docstr[i+2:] + else: + desc = " %s" % shortdesc + return (shortdesc, desc) + +def get_opts(opts): + for shortopt, longopt, default, desc in opts: + allopts = [] + if shortopt: + allopts.append("-%s" % shortopt) + if longopt: + allopts.append("--%s" % longopt) + desc += default and _(" (default: %s)") % default or "" + yield(", ".join(allopts), desc) + +def get_cmd(cmd): + d = {} + attr = table[cmd] + cmds = cmd.lstrip("^").split("|") + + d['cmd'] = cmds[0] + d['aliases'] = cmd.split("|")[1:] + d['desc'] = get_desc(attr[0].__doc__) + d['opts'] = list(get_opts(attr[1])) + + s = 'hg ' + cmds[0] + if len(attr) > 2: + if not attr[2].startswith('hg'): + s += ' ' + attr[2] + else: + s = attr[2] + d['synopsis'] = s + + return d + +def show_doc(ui): + def section(s): + ui.write("%s\n%s\n\n" % (s, "-" * len(s))) + def subsection(s): + ui.write("%s\n%s\n\n" % (s, '"' * len(s))) + + # print options + section(_("OPTIONS")) + for optstr, desc in get_opts(globalopts): + ui.write("%s\n %s\n\n" % (optstr, desc)) + + # print cmds + section(_("COMMANDS")) + h = {} + for c, attr in table.items(): + f = c.split("|")[0] + f = f.lstrip("^") + h[f] = c + cmds = h.keys() + cmds.sort() + + for f in cmds: + if f.startswith("debug"): continue + d = get_cmd(h[f]) + # synopsis + ui.write(".. _%s:\n\n" % d['cmd']) + ui.write("``%s``\n" % d['synopsis'].replace("hg ","", 1)) + # description + ui.write("%s\n\n" % d['desc'][1]) + # options + opt_output = list(d['opts']) + if opt_output: + opts_len = max([len(line[0]) for line in opt_output]) + ui.write(_(" options:\n\n")) + for optstr, desc in opt_output: + if desc: + s = "%-*s %s" % (opts_len, optstr, desc) + else: + s = optstr + s = textwrap.fill(s, initial_indent=4 * " ", + subsequent_indent=(6 + opts_len) * " ") + ui.write("%s\n" % s) + ui.write("\n") + # aliases + if d['aliases']: + ui.write(_(" aliases: %s\n\n") % " ".join(d['aliases'])) + + # print topics + for names, sec, doc in helptable: + for name in names: + ui.write(".. _%s:\n" % name) + ui.write("\n") + section(sec.upper()) + if callable(doc): + doc = doc() + ui.write(doc) + ui.write("\n") + +if __name__ == "__main__": + show_doc(sys.stdout) diff --git a/sys/src/cmd/hg/doc/hg.1.txt b/sys/src/cmd/hg/doc/hg.1.txt new file mode 100644 index 000000000..66e211217 --- /dev/null +++ b/sys/src/cmd/hg/doc/hg.1.txt @@ -0,0 +1,96 @@ +==== + hg +==== + +--------------------------------------- +Mercurial source code management system +--------------------------------------- + +:Author: Matt Mackall <mpm@selenic.com> +:Organization: Mercurial +:Manual section: 1 +:Manual group: Mercurial Manual + + +SYNOPSIS +-------- +**hg** *command* [*option*]... [*argument*]... + +DESCRIPTION +----------- +The **hg** command provides a command line interface to the Mercurial +system. + +COMMAND ELEMENTS +---------------- + +files... + indicates one or more filename or relative path filenames; see + "FILE NAME PATTERNS" for information on pattern matching + +path + indicates a path on the local machine + +revision + indicates a changeset which can be specified as a changeset + revision number, a tag, or a unique substring of the changeset + hash value + +repository path + either the pathname of a local repository or the URI of a remote + repository. + +.. include:: hg.1.gendoc.txt + +FILES +----- + +``.hgignore`` + This file contains regular expressions (one per line) that + describe file names that should be ignored by **hg**. For details, + see |hgignore(5)|_. + +``.hgtags`` + This file contains changeset hash values and text tag names (one + of each separated by spaces) that correspond to tagged versions of + the repository contents. + +``/etc/mercurial/hgrc``, ``$HOME/.hgrc``, ``.hg/hgrc`` + This file contains defaults and configuration. Values in + ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override + settings made in the global ``/etc/mercurial/hgrc`` configuration. + See |hgrc(5)|_ for details of the contents and format of these + files. + +Some commands (e.g. revert) produce backup files ending in ``.orig``, +if the ``.orig`` file already exists and is not tracked by Mercurial, +it will be overwritten. + +BUGS +---- +Probably lots, please post them to the mailing list (See Resources +below) when you find them. + +SEE ALSO +-------- +|hgignore(5)|_, |hgrc(5)|_ + +AUTHOR +------ +Written by Matt Mackall <mpm@selenic.com> + +RESOURCES +--------- +Main Web Site: http://mercurial.selenic.com/ + +Source code repository: http://selenic.com/hg + +Mailing list: http://selenic.com/mailman/listinfo/mercurial + +COPYING +------- +Copyright \(C) 2005-2009 Matt Mackall. +Free use of this software is granted under the terms of the GNU General +Public License (GPL). + +.. include:: common.txt diff --git a/sys/src/cmd/hg/doc/hgignore.5.txt b/sys/src/cmd/hg/doc/hgignore.5.txt new file mode 100644 index 000000000..e98dc40d1 --- /dev/null +++ b/sys/src/cmd/hg/doc/hgignore.5.txt @@ -0,0 +1,111 @@ +========== + hgignore +========== + +--------------------------------- +syntax for Mercurial ignore files +--------------------------------- + +:Author: Vadim Gelfer <vadim.gelfer@gmail.com> +:Organization: Mercurial +:Manual section: 5 +:Manual group: Mercurial Manual + +SYNOPSIS +-------- + +The Mercurial system uses a file called ``.hgignore`` in the root +directory of a repository to control its behavior when it searches +for files that it is not currently tracking. + +DESCRIPTION +----------- + +The working directory of a Mercurial repository will often contain +files that should not be tracked by Mercurial. These include backup +files created by editors and build products created by compilers. +These files can be ignored by listing them in a ``.hgignore`` file in +the root of the working directory. The ``.hgignore`` file must be +created manually. It is typically put under version control, so that +the settings will propagate to other repositories with push and pull. + +An untracked file is ignored if its path relative to the repository +root directory, or any prefix path of that path, is matched against +any pattern in ``.hgignore``. + +For example, say we have an an untracked file, ``file.c``, at +``a/b/file.c`` inside our repository. Mercurial will ignore ``file.c`` +if any pattern in ``.hgignore`` matches ``a/b/file.c``, ``a/b`` or ``a``. + +In addition, a Mercurial configuration file can reference a set of +per-user or global ignore files. See the |hgrc(5)|_ man page for details +of how to configure these files. Look for the "ignore" entry in the +"ui" section. + +To control Mercurial's handling of files that it manages, see the +|hg(1)|_ man page. Look for the "``-I``" and "``-X``" options. + +SYNTAX +------ + +An ignore file is a plain text file consisting of a list of patterns, +with one pattern per line. Empty lines are skipped. The "``#``" +character is treated as a comment character, and the "``\``" character +is treated as an escape character. + +Mercurial supports several pattern syntaxes. The default syntax used +is Python/Perl-style regular expressions. + +To change the syntax used, use a line of the following form:: + + syntax: NAME + +where ``NAME`` is one of the following: + +``regexp`` + Regular expression, Python/Perl syntax. +``glob`` + Shell-style glob. + +The chosen syntax stays in effect when parsing all patterns that +follow, until another syntax is selected. + +Neither glob nor regexp patterns are rooted. A glob-syntax pattern of +the form "``*.c``" will match a file ending in "``.c``" in any directory, +and a regexp pattern of the form "``\.c$``" will do the same. To root a +regexp pattern, start it with "``^``". + +EXAMPLE +------- + +Here is an example ignore file. :: + + # use glob syntax. + syntax: glob + + *.elc + *.pyc + *~ + + # switch to regexp syntax. + syntax: regexp + ^\.pc/ + +AUTHOR +------ +Vadim Gelfer <vadim.gelfer@gmail.com> + +Mercurial was written by Matt Mackall <mpm@selenic.com>. + +SEE ALSO +-------- +|hg(1)|_, |hgrc(5)|_ + +COPYING +------- +This manual page is copyright 2006 Vadim Gelfer. +Mercurial is copyright 2005-2009 Matt Mackall. +Free use of this software is granted under the terms of the GNU General +Public License (GPL). + +.. include:: common.txt diff --git a/sys/src/cmd/hg/doc/hgrc.5.txt b/sys/src/cmd/hg/doc/hgrc.5.txt new file mode 100644 index 000000000..7618cc614 --- /dev/null +++ b/sys/src/cmd/hg/doc/hgrc.5.txt @@ -0,0 +1,934 @@ +====== + hgrc +====== + +--------------------------------- +configuration files for Mercurial +--------------------------------- + +:Author: Bryan O'Sullivan <bos@serpentine.com> +:Organization: Mercurial +:Manual section: 5 +:Manual group: Mercurial Manual + + +SYNOPSIS +-------- + +The Mercurial system uses a set of configuration files to control +aspects of its behavior. + +FILES +----- + +Mercurial reads configuration data from several files, if they exist. +The names of these files depend on the system on which Mercurial is +installed. ``*.rc`` files from a single directory are read in +alphabetical order, later ones overriding earlier ones. Where multiple +paths are given below, settings from later paths override earlier +ones. + +| (Unix) ``<install-root>/etc/mercurial/hgrc.d/*.rc`` +| (Unix) ``<install-root>/etc/mercurial/hgrc`` + + Per-installation configuration files, searched for in the + directory where Mercurial is installed. ``<install-root>`` is the + parent directory of the **hg** executable (or symlink) being run. For + example, if installed in ``/shared/tools/bin/hg``, Mercurial will look + in ``/shared/tools/etc/mercurial/hgrc``. Options in these files apply + to all Mercurial commands executed by any user in any directory. + +| (Unix) ``/etc/mercurial/hgrc.d/*.rc`` +| (Unix) ``/etc/mercurial/hgrc`` + + Per-system configuration files, for the system on which Mercurial + is running. Options in these files apply to all Mercurial commands + executed by any user in any directory. Options in these files + override per-installation options. + +| (Windows) ``<install-dir>\Mercurial.ini`` or else +| (Windows) ``HKEY_LOCAL_MACHINE\SOFTWARE\Mercurial`` or else +| (Windows) ``C:\Mercurial\Mercurial.ini`` + + Per-installation/system configuration files, for the system on + which Mercurial is running. Options in these files apply to all + Mercurial commands executed by any user in any directory. Registry + keys contain PATH-like strings, every part of which must reference + a ``Mercurial.ini`` file or be a directory where ``*.rc`` files will + be read. + +| (Unix) ``$HOME/.hgrc`` +| (Windows) ``%HOME%\Mercurial.ini`` +| (Windows) ``%HOME%\.hgrc`` +| (Windows) ``%USERPROFILE%\Mercurial.ini`` +| (Windows) ``%USERPROFILE%\.hgrc`` + + Per-user configuration file(s), for the user running Mercurial. On + Windows 9x, ``%HOME%`` is replaced by ``%APPDATA%``. Options in these + files apply to all Mercurial commands executed by this user in any + directory. Options in these files override per-installation and + per-system options. + +| (Unix, Windows) ``<repo>/.hg/hgrc`` + + Per-repository configuration options that only apply in a + particular repository. This file is not version-controlled, and + will not get transferred during a "clone" operation. Options in + this file override options in all other configuration files. On + Unix, most of this file will be ignored if it doesn't belong to a + trusted user or to a trusted group. See the documentation for the + trusted section below for more details. + +SYNTAX +------ + +A configuration file consists of sections, led by a "``[section]``" header +and followed by "``name: value``" entries; "``name=value``" is also accepted. + +:: + + [spam] + eggs=ham + green= + eggs + +Each line contains one entry. If the lines that follow are indented, +they are treated as continuations of that entry. + +Leading whitespace is removed from values. Empty lines are skipped. + +Lines beginning with "``#``" or "``;``" are ignored and may be used to provide +comments. + +SECTIONS +-------- + +This section describes the different sections that may appear in a +Mercurial "hgrc" file, the purpose of each section, its possible keys, +and their possible values. + +``alias`` +""""""""" +Defines command aliases. +Aliases allow you to define your own commands in terms of other +commands (or aliases), optionally including arguments. + +Alias definitions consist of lines of the form:: + + <alias> = <command> [<argument]... + +For example, this definition:: + + latest = log --limit 5 + +creates a new command ``latest`` that shows only the five most recent +changesets. You can define subsequent aliases using earlier ones:: + + stable5 = latest -b stable + +NOTE: It is possible to create aliases with the same names as existing +commands, which will then override the original definitions. This is +almost always a bad idea! + + +``auth`` +"""""""" +Authentication credentials for HTTP authentication. Each line has +the following format:: + + <name>.<argument> = <value> + +where <name> is used to group arguments into authentication entries. +Example:: + + foo.prefix = hg.intevation.org/mercurial + foo.username = foo + foo.password = bar + foo.schemes = http https + + bar.prefix = secure.example.org + bar.key = path/to/file.key + bar.cert = path/to/file.cert + bar.schemes = https + +Supported arguments: + +``prefix`` + Either "``*``" or a URI prefix with or without the scheme part. + The authentication entry with the longest matching prefix is used + (where "``*``" matches everything and counts as a match of length + 1). If the prefix doesn't include a scheme, the match is performed + against the URI with its scheme stripped as well, and the schemes + argument, q.v., is then subsequently consulted. +``username`` + Optional. Username to authenticate with. If not given, and the + remote site requires basic or digest authentication, the user + will be prompted for it. +``password`` + Optional. Password to authenticate with. If not given, and the + remote site requires basic or digest authentication, the user + will be prompted for it. +``key`` + Optional. PEM encoded client certificate key file. +``cert`` + Optional. PEM encoded client certificate chain file. +``schemes`` + Optional. Space separated list of URI schemes to use this + authentication entry with. Only used if the prefix doesn't include + a scheme. Supported schemes are http and https. They will match + static-http and static-https respectively, as well. + Default: https. + +If no suitable authentication entry is found, the user is prompted +for credentials as usual if required by the remote. + + +``decode/encode`` +""""""""""""""""" +Filters for transforming files on checkout/checkin. This would +typically be used for newline processing or other +localization/canonicalization of files. + +Filters consist of a filter pattern followed by a filter command. +Filter patterns are globs by default, rooted at the repository root. +For example, to match any file ending in "``.txt``" in the root +directory only, use the pattern "``*.txt``". To match any file ending +in "``.c``" anywhere in the repository, use the pattern "``**.c``". + +The filter command can start with a specifier, either "pipe:" or +"tempfile:". If no specifier is given, "pipe:" is used by default. + +A "pipe:" command must accept data on stdin and return the transformed +data on stdout. + +Pipe example:: + + [encode] + # uncompress gzip files on checkin to improve delta compression + # note: not necessarily a good idea, just an example + *.gz = pipe: gunzip + + [decode] + # recompress gzip files when writing them to the working dir (we + # can safely omit "pipe:", because it's the default) + *.gz = gzip + +A "tempfile:" command is a template. The string INFILE is replaced +with the name of a temporary file that contains the data to be +filtered by the command. The string OUTFILE is replaced with the name +of an empty temporary file, where the filtered data must be written by +the command. + +NOTE: the tempfile mechanism is recommended for Windows systems, where +the standard shell I/O redirection operators often have strange +effects and may corrupt the contents of your files. + +The most common usage is for LF <-> CRLF translation on Windows. For +this, use the "smart" converters which check for binary files:: + + [extensions] + hgext.win32text = + [encode] + ** = cleverencode: + [decode] + ** = cleverdecode: + +or if you only want to translate certain files:: + + [extensions] + hgext.win32text = + [encode] + **.txt = dumbencode: + [decode] + **.txt = dumbdecode: + + +``defaults`` +"""""""""""" + +Use the [defaults] section to define command defaults, i.e. the +default options/arguments to pass to the specified commands. + +The following example makes 'hg log' run in verbose mode, and 'hg +status' show only the modified files, by default:: + + [defaults] + log = -v + status = -m + +The actual commands, instead of their aliases, must be used when +defining command defaults. The command defaults will also be applied +to the aliases of the commands defined. + + +``diff`` +"""""""" + +Settings used when displaying diffs. They are all Boolean and +defaults to False. + +``git`` + Use git extended diff format. +``nodates`` + Don't include dates in diff headers. +``showfunc`` + Show which function each change is in. +``ignorews`` + Ignore white space when comparing lines. +``ignorewsamount`` + Ignore changes in the amount of white space. +``ignoreblanklines`` + Ignore changes whose lines are all blank. + +``email`` +""""""""" +Settings for extensions that send email messages. + +``from`` + Optional. Email address to use in "From" header and SMTP envelope + of outgoing messages. +``to`` + Optional. Comma-separated list of recipients' email addresses. +``cc`` + Optional. Comma-separated list of carbon copy recipients' + email addresses. +``bcc`` + Optional. Comma-separated list of blind carbon copy recipients' + email addresses. Cannot be set interactively. +``method`` + Optional. Method to use to send email messages. If value is "smtp" + (default), use SMTP (see section "[smtp]" for configuration). + Otherwise, use as name of program to run that acts like sendmail + (takes "-f" option for sender, list of recipients on command line, + message on stdin). Normally, setting this to "sendmail" or + "/usr/sbin/sendmail" is enough to use sendmail to send messages. +``charsets`` + Optional. Comma-separated list of character sets considered + convenient for recipients. Addresses, headers, and parts not + containing patches of outgoing messages will be encoded in the + first character set to which conversion from local encoding + (``$HGENCODING``, ``ui.fallbackencoding``) succeeds. If correct + conversion fails, the text in question is sent as is. Defaults to + empty (explicit) list. + +Order of outgoing email character sets:: + + us-ascii always first, regardless of settings + email.charsets in order given by user + ui.fallbackencoding if not in email.charsets + $HGENCODING if not in email.charsets + utf-8 always last, regardless of settings + +Email example:: + + [email] + from = Joseph User <joe.user@example.com> + method = /usr/sbin/sendmail + # charsets for western Europeans + # us-ascii, utf-8 omitted, as they are tried first and last + charsets = iso-8859-1, iso-8859-15, windows-1252 + + +``extensions`` +"""""""""""""" + +Mercurial has an extension mechanism for adding new features. To +enable an extension, create an entry for it in this section. + +If you know that the extension is already in Python's search path, +you can give the name of the module, followed by "``=``", with nothing +after the "``=``". + +Otherwise, give a name that you choose, followed by "``=``", followed by +the path to the "``.py``" file (including the file name extension) that +defines the extension. + +To explicitly disable an extension that is enabled in an hgrc of +broader scope, prepend its path with "``!``", as in +"``hgext.foo = !/ext/path``" or "``hgext.foo = !``" when path is not +supplied. + +Example for ``~/.hgrc``:: + + [extensions] + # (the mq extension will get loaded from Mercurial's path) + hgext.mq = + # (this extension will get loaded from the file specified) + myfeature = ~/.hgext/myfeature.py + + +``format`` +"""""""""" + +``usestore`` + Enable or disable the "store" repository format which improves + compatibility with systems that fold case or otherwise mangle + filenames. Enabled by default. Disabling this option will allow + you to store longer filenames in some situations at the expense of + compatibility and ensures that the on-disk format of newly created + repositories will be compatible with Mercurial before version 0.9.4. + +``usefncache`` + Enable or disable the "fncache" repository format which enhances + the "store" repository format (which has to be enabled to use + fncache) to allow longer filenames and avoids using Windows + reserved names, e.g. "nul". Enabled by default. Disabling this + option ensures that the on-disk format of newly created + repositories will be compatible with Mercurial before version 1.1. + +``merge-patterns`` +"""""""""""""""""" + +This section specifies merge tools to associate with particular file +patterns. Tools matched here will take precedence over the default +merge tool. Patterns are globs by default, rooted at the repository +root. + +Example:: + + [merge-patterns] + **.c = kdiff3 + **.jpg = myimgmerge + +``merge-tools`` +""""""""""""""" + +This section configures external merge tools to use for file-level +merges. + +Example ``~/.hgrc``:: + + [merge-tools] + # Override stock tool location + kdiff3.executable = ~/bin/kdiff3 + # Specify command line + kdiff3.args = $base $local $other -o $output + # Give higher priority + kdiff3.priority = 1 + + # Define new tool + myHtmlTool.args = -m $local $other $base $output + myHtmlTool.regkey = Software\FooSoftware\HtmlMerge + myHtmlTool.priority = 1 + +Supported arguments: + +``priority`` + The priority in which to evaluate this tool. + Default: 0. +``executable`` + Either just the name of the executable or its pathname. + Default: the tool name. +``args`` + The arguments to pass to the tool executable. You can refer to the + files being merged as well as the output file through these + variables: ``$base``, ``$local``, ``$other``, ``$output``. + Default: ``$local $base $other`` +``premerge`` + Attempt to run internal non-interactive 3-way merge tool before + launching external tool. + Default: True +``binary`` + This tool can merge binary files. Defaults to False, unless tool + was selected by file pattern match. +``symlink`` + This tool can merge symlinks. Defaults to False, even if tool was + selected by file pattern match. +``checkconflicts`` + Check whether there are conflicts even though the tool reported + success. + Default: False +``checkchanged`` + Check whether outputs were written even though the tool reported + success. + Default: False +``fixeol`` + Attempt to fix up EOL changes caused by the merge tool. + Default: False +``gui`` + This tool requires a graphical interface to run. Default: False +``regkey`` + Windows registry key which describes install location of this + tool. Mercurial will search for this key first under + ``HKEY_CURRENT_USER`` and then under ``HKEY_LOCAL_MACHINE``. + Default: None +``regname`` + Name of value to read from specified registry key. Defaults to the + unnamed (default) value. +``regappend`` + String to append to the value read from the registry, typically + the executable name of the tool. + Default: None + + +``hooks`` +""""""""" +Commands or Python functions that get automatically executed by +various actions such as starting or finishing a commit. Multiple +hooks can be run for the same action by appending a suffix to the +action. Overriding a site-wide hook can be done by changing its +value or setting it to an empty string. + +Example ``.hg/hgrc``:: + + [hooks] + # do not use the site-wide hook + incoming = + incoming.email = /my/email/hook + incoming.autobuild = /my/build/hook + +Most hooks are run with environment variables set that give useful +additional information. For each hook below, the environment +variables it is passed are listed with names of the form "$HG_foo". + +``changegroup`` + Run after a changegroup has been added via push, pull or unbundle. + ID of the first new changeset is in ``$HG_NODE``. URL from which + changes came is in ``$HG_URL``. +``commit`` + Run after a changeset has been created in the local repository. ID + of the newly created changeset is in ``$HG_NODE``. Parent changeset + IDs are in ``$HG_PARENT1`` and ``$HG_PARENT2``. +``incoming`` + Run after a changeset has been pulled, pushed, or unbundled into + the local repository. The ID of the newly arrived changeset is in + ``$HG_NODE``. URL that was source of changes came is in ``$HG_URL``. +``outgoing`` + Run after sending changes from local repository to another. ID of + first changeset sent is in ``$HG_NODE``. Source of operation is in + ``$HG_SOURCE``; see "preoutgoing" hook for description. +``post-<command>`` + Run after successful invocations of the associated command. The + contents of the command line are passed as ``$HG_ARGS`` and the result + code in ``$HG_RESULT``. Hook failure is ignored. +``pre-<command>`` + Run before executing the associated command. The contents of the + command line are passed as ``$HG_ARGS``. If the hook returns failure, + the command doesn't execute and Mercurial returns the failure + code. +``prechangegroup`` + Run before a changegroup is added via push, pull or unbundle. Exit + status 0 allows the changegroup to proceed. Non-zero status will + cause the push, pull or unbundle to fail. URL from which changes + will come is in ``$HG_URL``. +``precommit`` + Run before starting a local commit. Exit status 0 allows the + commit to proceed. Non-zero status will cause the commit to fail. + Parent changeset IDs are in ``$HG_PARENT1`` and ``$HG_PARENT2``. +``preoutgoing`` + Run before collecting changes to send from the local repository to + another. Non-zero status will cause failure. This lets you prevent + pull over HTTP or SSH. Also prevents against local pull, push + (outbound) or bundle commands, but not effective, since you can + just copy files instead then. Source of operation is in + ``$HG_SOURCE``. If "serve", operation is happening on behalf of remote + SSH or HTTP repository. If "push", "pull" or "bundle", operation + is happening on behalf of repository on same system. +``pretag`` + Run before creating a tag. Exit status 0 allows the tag to be + created. Non-zero status will cause the tag to fail. ID of + changeset to tag is in ``$HG_NODE``. Name of tag is in ``$HG_TAG``. Tag is + local if ``$HG_LOCAL=1``, in repository if ``$HG_LOCAL=0``. +``pretxnchangegroup`` + Run after a changegroup has been added via push, pull or unbundle, + but before the transaction has been committed. Changegroup is + visible to hook program. This lets you validate incoming changes + before accepting them. Passed the ID of the first new changeset in + ``$HG_NODE``. Exit status 0 allows the transaction to commit. Non-zero + status will cause the transaction to be rolled back and the push, + pull or unbundle will fail. URL that was source of changes is in + ``$HG_URL``. +``pretxncommit`` + Run after a changeset has been created but the transaction not yet + committed. Changeset is visible to hook program. This lets you + validate commit message and changes. Exit status 0 allows the + commit to proceed. Non-zero status will cause the transaction to + be rolled back. ID of changeset is in ``$HG_NODE``. Parent changeset + IDs are in ``$HG_PARENT1`` and ``$HG_PARENT2``. +``preupdate`` + Run before updating the working directory. Exit status 0 allows + the update to proceed. Non-zero status will prevent the update. + Changeset ID of first new parent is in ``$HG_PARENT1``. If merge, ID + of second new parent is in ``$HG_PARENT2``. +``tag`` + Run after a tag is created. ID of tagged changeset is in ``$HG_NODE``. + Name of tag is in ``$HG_TAG``. Tag is local if ``$HG_LOCAL=1``, in + repository if ``$HG_LOCAL=0``. +``update`` + Run after updating the working directory. Changeset ID of first + new parent is in ``$HG_PARENT1``. If merge, ID of second new parent is + in ``$HG_PARENT2``. If the update succeeded, ``$HG_ERROR=0``. If the + update failed (e.g. because conflicts not resolved), ``$HG_ERROR=1``. + +NOTE: it is generally better to use standard hooks rather than the +generic pre- and post- command hooks as they are guaranteed to be +called in the appropriate contexts for influencing transactions. +Also, hooks like "commit" will be called in all contexts that +generate a commit (e.g. tag) and not just the commit command. + +NOTE: Environment variables with empty values may not be passed to +hooks on platforms such as Windows. As an example, ``$HG_PARENT2`` will +have an empty value under Unix-like platforms for non-merge +changesets, while it will not be available at all under Windows. + +The syntax for Python hooks is as follows:: + + hookname = python:modulename.submodule.callable + hookname = python:/path/to/python/module.py:callable + +Python hooks are run within the Mercurial process. Each hook is +called with at least three keyword arguments: a ui object (keyword +"ui"), a repository object (keyword "repo"), and a "hooktype" +keyword that tells what kind of hook is used. Arguments listed as +environment variables above are passed as keyword arguments, with no +"``HG_``" prefix, and names in lower case. + +If a Python hook returns a "true" value or raises an exception, this +is treated as a failure. + + +``http_proxy`` +"""""""""""""" +Used to access web-based Mercurial repositories through a HTTP +proxy. + +``host`` + Host name and (optional) port of the proxy server, for example + "myproxy:8000". +``no`` + Optional. Comma-separated list of host names that should bypass + the proxy. +``passwd`` + Optional. Password to authenticate with at the proxy server. +``user`` + Optional. User name to authenticate with at the proxy server. + +``smtp`` +"""""""" +Configuration for extensions that need to send email messages. + +``host`` + Host name of mail server, e.g. "mail.example.com". +``port`` + Optional. Port to connect to on mail server. Default: 25. +``tls`` + Optional. Whether to connect to mail server using TLS. True or + False. Default: False. +``username`` + Optional. User name to authenticate to SMTP server with. If + username is specified, password must also be specified. + Default: none. +``password`` + Optional. Password to authenticate to SMTP server with. If + username is specified, password must also be specified. + Default: none. +``local_hostname`` + Optional. It's the hostname that the sender can use to identify + itself to the MTA. + + +``patch`` +""""""""" +Settings used when applying patches, for instance through the 'import' +command or with Mercurial Queues extension. + +``eol`` + When set to 'strict' patch content and patched files end of lines + are preserved. When set to 'lf' or 'crlf', both files end of lines + are ignored when patching and the result line endings are + normalized to either LF (Unix) or CRLF (Windows). + Default: strict. + + +``paths`` +""""""""" +Assigns symbolic names to repositories. The left side is the +symbolic name, and the right gives the directory or URL that is the +location of the repository. Default paths can be declared by setting +the following entries. + +``default`` + Directory or URL to use when pulling if no source is specified. + Default is set to repository from which the current repository was + cloned. +``default-push`` + Optional. Directory or URL to use when pushing if no destination + is specified. + + +``profiling`` +""""""""""""" +Specifies profiling format and file output. In this section +description, 'profiling data' stands for the raw data collected +during profiling, while 'profiling report' stands for a statistical +text report generated from the profiling data. The profiling is done +using lsprof. + +``format`` + Profiling format. + Default: text. + + ``text`` + Generate a profiling report. When saving to a file, it should be + noted that only the report is saved, and the profiling data is + not kept. + ``kcachegrind`` + Format profiling data for kcachegrind use: when saving to a + file, the generated file can directly be loaded into + kcachegrind. +``output`` + File path where profiling data or report should be saved. If the + file exists, it is replaced. Default: None, data is printed on + stderr + +``server`` +"""""""""" +Controls generic server settings. + +``uncompressed`` + Whether to allow clients to clone a repository using the + uncompressed streaming protocol. This transfers about 40% more + data than a regular clone, but uses less memory and CPU on both + server and client. Over a LAN (100 Mbps or better) or a very fast + WAN, an uncompressed streaming clone is a lot faster (~10x) than a + regular clone. Over most WAN connections (anything slower than + about 6 Mbps), uncompressed streaming is slower, because of the + extra data transfer overhead. Default is False. + + +``trusted`` +""""""""""" +For security reasons, Mercurial will not use the settings in the +``.hg/hgrc`` file from a repository if it doesn't belong to a trusted +user or to a trusted group. The main exception is the web interface, +which automatically uses some safe settings, since it's common to +serve repositories from different users. + +This section specifies what users and groups are trusted. The +current user is always trusted. To trust everybody, list a user or a +group with name "``*``". + +``users`` + Comma-separated list of trusted users. +``groups`` + Comma-separated list of trusted groups. + + +``ui`` +"""""" + +User interface controls. + +``archivemeta`` + Whether to include the .hg_archival.txt file containing meta data + (hashes for the repository base and for tip) in archives created + by the hg archive command or downloaded via hgweb. + Default is true. +``askusername`` + Whether to prompt for a username when committing. If True, and + neither ``$HGUSER`` nor ``$EMAIL`` has been specified, then the user will + be prompted to enter a username. If no username is entered, the + default USER@HOST is used instead. + Default is False. +``debug`` + Print debugging information. True or False. Default is False. +``editor`` + The editor to use during a commit. Default is ``$EDITOR`` or "vi". +``fallbackencoding`` + Encoding to try if it's not possible to decode the changelog using + UTF-8. Default is ISO-8859-1. +``ignore`` + A file to read per-user ignore patterns from. This file should be + in the same format as a repository-wide .hgignore file. This + option supports hook syntax, so if you want to specify multiple + ignore files, you can do so by setting something like + "``ignore.other = ~/.hgignore2``". For details of the ignore file + format, see the |hgignore(5)|_ man page. +``interactive`` + Allow to prompt the user. True or False. Default is True. +``logtemplate`` + Template string for commands that print changesets. +``merge`` + The conflict resolution program to use during a manual merge. + There are some internal tools available: + + ``internal:local`` + keep the local version + ``internal:other`` + use the other version + ``internal:merge`` + use the internal non-interactive merge tool + ``internal:fail`` + fail to merge + +For more information on configuring merge tools see the +merge-tools section. + +``patch`` + command to use to apply patches. Look for 'gpatch' or 'patch' in + PATH if unset. +``quiet`` + Reduce the amount of output printed. True or False. Default is False. +``remotecmd`` + remote command to use for clone/push/pull operations. Default is 'hg'. +``report_untrusted`` + Warn if a ``.hg/hgrc`` file is ignored due to not being owned by a + trusted user or group. True or False. Default is True. +``slash`` + Display paths using a slash ("``/``") as the path separator. This + only makes a difference on systems where the default path + separator is not the slash character (e.g. Windows uses the + backslash character ("``\``")). + Default is False. +``ssh`` + command to use for SSH connections. Default is 'ssh'. +``strict`` + Require exact command names, instead of allowing unambiguous + abbreviations. True or False. Default is False. +``style`` + Name of style to use for command output. +``timeout`` + The timeout used when a lock is held (in seconds), a negative value + means no timeout. Default is 600. +``username`` + The committer of a changeset created when running "commit". + Typically a person's name and email address, e.g. "Fred Widget + <fred@example.com>". Default is ``$EMAIL`` or username@hostname. If + the username in hgrc is empty, it has to be specified manually or + in a different hgrc file (e.g. ``$HOME/.hgrc``, if the admin set + "username =" in the system hgrc). +``verbose`` + Increase the amount of output printed. True or False. Default is False. + + +``web`` +""""""" +Web interface configuration. + +``accesslog`` + Where to output the access log. Default is stdout. +``address`` + Interface address to bind to. Default is all. +``allow_archive`` + List of archive format (bz2, gz, zip) allowed for downloading. + Default is empty. +``allowbz2`` + (DEPRECATED) Whether to allow .tar.bz2 downloading of repository + revisions. + Default is false. +``allowgz`` + (DEPRECATED) Whether to allow .tar.gz downloading of repository + revisions. + Default is false. +``allowpull`` + Whether to allow pulling from the repository. Default is true. +``allow_push`` + Whether to allow pushing to the repository. If empty or not set, + push is not allowed. If the special value "``*``", any remote user can + push, including unauthenticated users. Otherwise, the remote user + must have been authenticated, and the authenticated user name must + be present in this list (separated by whitespace or ","). The + contents of the allow_push list are examined after the deny_push + list. +``allow_read`` + If the user has not already been denied repository access due to + the contents of deny_read, this list determines whether to grant + repository access to the user. If this list is not empty, and the + user is unauthenticated or not present in the list (separated by + whitespace or ","), then access is denied for the user. If the + list is empty or not set, then access is permitted to all users by + default. Setting allow_read to the special value "``*``" is equivalent + to it not being set (i.e. access is permitted to all users). The + contents of the allow_read list are examined after the deny_read + list. +``allowzip`` + (DEPRECATED) Whether to allow .zip downloading of repository + revisions. Default is false. This feature creates temporary files. +``baseurl`` + Base URL to use when publishing URLs in other locations, so + third-party tools like email notification hooks can construct + URLs. Example: "http://hgserver/repos/" +``contact`` + Name or email address of the person in charge of the repository. + Defaults to ui.username or ``$EMAIL`` or "unknown" if unset or empty. +``deny_push`` + Whether to deny pushing to the repository. If empty or not set, + push is not denied. If the special value "``*``", all remote users are + denied push. Otherwise, unauthenticated users are all denied, and + any authenticated user name present in this list (separated by + whitespace or ",") is also denied. The contents of the deny_push + list are examined before the allow_push list. +``deny_read`` + Whether to deny reading/viewing of the repository. If this list is + not empty, unauthenticated users are all denied, and any + authenticated user name present in this list (separated by + whitespace or ",") is also denied access to the repository. If set + to the special value "``*``", all remote users are denied access + (rarely needed ;). If deny_read is empty or not set, the + determination of repository access depends on the presence and + content of the allow_read list (see description). If both + deny_read and allow_read are empty or not set, then access is + permitted to all users by default. If the repository is being + served via hgwebdir, denied users will not be able to see it in + the list of repositories. The contents of the deny_read list have + priority over (are examined before) the contents of the allow_read + list. +``description`` + Textual description of the repository's purpose or contents. + Default is "unknown". +``encoding`` + Character encoding name. + Example: "UTF-8" +``errorlog`` + Where to output the error log. Default is stderr. +``hidden`` + Whether to hide the repository in the hgwebdir index. + Default is false. +``ipv6`` + Whether to use IPv6. Default is false. +``name`` + Repository name to use in the web interface. Default is current + working directory. +``maxchanges`` + Maximum number of changes to list on the changelog. Default is 10. +``maxfiles`` + Maximum number of files to list per changeset. Default is 10. +``port`` + Port to listen on. Default is 8000. +``prefix`` + Prefix path to serve from. Default is '' (server root). +``push_ssl`` + Whether to require that inbound pushes be transported over SSL to + prevent password sniffing. Default is true. +``staticurl`` + Base URL to use for static files. If unset, static files (e.g. the + hgicon.png favicon) will be served by the CGI script itself. Use + this setting to serve them directly with the HTTP server. + Example: "http://hgserver/static/" +``stripes`` + How many lines a "zebra stripe" should span in multiline output. + Default is 1; set to 0 to disable. +``style`` + Which template map style to use. +``templates`` + Where to find the HTML templates. Default is install path. + + +AUTHOR +------ +Bryan O'Sullivan <bos@serpentine.com>. + +Mercurial was written by Matt Mackall <mpm@selenic.com>. + +SEE ALSO +-------- +|hg(1)|_, |hgignore(5)|_ + +COPYING +------- +This manual page is copyright 2005 Bryan O'Sullivan. +Mercurial is copyright 2005-2009 Matt Mackall. +Free use of this software is granted under the terms of the GNU General +Public License (GPL). + +.. include:: common.txt diff --git a/sys/src/cmd/hg/doc/ja/Makefile b/sys/src/cmd/hg/doc/ja/Makefile new file mode 100644 index 000000000..154239fb4 --- /dev/null +++ b/sys/src/cmd/hg/doc/ja/Makefile @@ -0,0 +1,21 @@ +SOURCES=$(wildcard *.[0-9].ja.txt) +MAN=$(SOURCES:%.txt=%) +HTML=$(SOURCES:%.txt=%.html) + +all: man html + +man: $(MAN) + +html: $(HTML) + +%: %.xml + xmlto -x docbook.ja.xsl man $*.xml + +%.xml: %.txt + -asciidoc -d manpage -b docbook -f docbook.ja.conf $*.txt + +%.html: %.txt + asciidoc -b html4 $*.txt + +clean: + $(RM) $(MAN:%.ja=%) $(MAN:%=%.xml) $(MAN:%=%.html) diff --git a/sys/src/cmd/hg/doc/ja/docbook.ja.conf b/sys/src/cmd/hg/doc/ja/docbook.ja.conf new file mode 100644 index 000000000..355692ab2 --- /dev/null +++ b/sys/src/cmd/hg/doc/ja/docbook.ja.conf @@ -0,0 +1,583 @@ +# +# docbook.conf +# +# Asciidoc configuration file. +# Modified docbook backend for Japanese. +# + +[miscellaneous] +outfilesuffix=.xml +# Printable page width in pts. +pagewidth=380 +pageunits=pt + +[attributes] +basebackend=docbook +basebackend-docbook= + +[replacements] +# Line break markup is dropped (there is no DocBook line break tag). +(?m)^(.*)\s\+$=\1 +# Superscripts. +\^(.+?)\^=<superscript>\1</superscript> +# Subscripts. +~(.+?)~=<subscript>\1</subscript> + +[ruler-blockmacro] +# Only applies to HTML so don't output anything. + +[image-inlinemacro] +<inlinemediaobject> + <imageobject> + <imagedata fileref="{target}"{width? contentwidth="{width}pt"}{height? contentdepth="{height}pt"}/> + </imageobject> + <textobject><phrase>{1={target}}</phrase></textobject> +</inlinemediaobject> + +[image-blockmacro] +<figure{id? id="{id}"}><title>{title}</title> +{title%}<informalfigure{id? id="{id}"}> +<mediaobject> + <imageobject> + <imagedata fileref="{target}"{width? contentwidth="{width}pt"}{height? contentdepth="{height}pt"}/> + </imageobject> + <textobject><phrase>{1={target}}</phrase></textobject> +</mediaobject> +{title#}</figure> +{title%}</informalfigure> + +[indexterm-inlinemacro] +# Inline index term. +# Generate separate index entries for primary, secondary and tertiary +# descriptions. +# Primary only. +{2%}<indexterm> +{2%} <primary>{1}</primary> +{2%}</indexterm> +# Primary and secondary. +{2#}{3%}<indexterm> +{2#}{3%} <primary>{1}</primary><secondary>{2}</secondary> +{2#}{3%}</indexterm> +{2#}{3%}<indexterm> +{2#}{3%} <primary>{2}</primary> +{2#}{3%}</indexterm> +# Primary, secondary and tertiary. +{3#}<indexterm> + <primary>{1}</primary><secondary>{2}</secondary><tertiary>{3}</tertiary> +{3#}</indexterm> +{3#}<indexterm> + <primary>{2}</primary><secondary>{3}</secondary> +{3#}</indexterm> +{3#}<indexterm> + <primary>{3}</primary> +{3#}</indexterm> + +[indexterm2-inlinemacro] +# Inline index term. +# Single entry index term that is visible in the primary text flow. +<indexterm> + <primary>{1}</primary> +</indexterm> +{1} + +[footnote-inlinemacro] +# Inline footnote. +<footnote><simpara>{0}</simpara></footnote> + +[callout-inlinemacro] +# Inline callout. +<co id="{coid}"/> + +[tags] +# Bulleted, numbered and labeled list tags. +ilist=<itemizedlist{id? id="{id}"}>{title?<title>{title}</title>}|</itemizedlist> +ilistitem=<listitem>|</listitem> +ilisttext=<simpara>|</simpara> +olist=<orderedlist{id? id="{id}"}>{title?<title>{title}</title>}|</orderedlist> +olist2=<orderedlist{id? id="{id}"} numeration="loweralpha">|</orderedlist> +olistitem=<listitem>|</listitem> +olisttext=<simpara>|</simpara> +vlist=<variablelist{id? id="{id}"}>{title?<title>{title}</title>}|</variablelist> +vlistentry=<varlistentry>|</varlistentry> +vlistterm=<term>|</term> +vlisttext=<simpara>|</simpara> +vlistitem=<listitem>|</listitem> +# Horizontal labeled list (implemented with two column table). +# Hardwired column widths to 30%,70% because the current crop of PDF +# generators do not auto calculate column widths. +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}> +hlistentry=<row>|</row> +hlisttext=<simpara>|</simpara> +hlistterm=<entry><simpara>|</simpara></entry> +hlistitem=<entry>|</entry> + +# Question and Answer list. +qlist=<qandaset{id? id="{id}"}>{title?<title>{title}</title>}|</qandaset> +qlistentry=<qandaentry>|</qandaentry> +qlistterm=<question><simpara>|</simpara></question> +qlistitem=<answer>|</answer> +qlisttext=<simpara>|</simpara> +# Bibliography list. +blist=| +blistitem=<bibliomixed>|</bibliomixed> +blisttext=<bibliomisc>|</bibliomisc> +# Glossary list. +glist=| +glistentry=<glossentry>|</glossentry> +glistterm=<glossterm>|</glossterm> +glistitem=<glossdef>|</glossdef> +glisttext=<simpara>|</simpara> +# Callout list. +colist=<calloutlist{id? id="{id}"}>{title?<title>{title}</title>}|</calloutlist> +colistitem=<callout arearefs="{coids}">|</callout> +colisttext=<simpara>|</simpara> + +# Quoted text +emphasis=<emphasis>|</emphasis> +strong=<emphasis role="strong">|</emphasis> +monospaced=<literal>|</literal> +quoted={amp}#8220;|{amp}#8221; + +# Inline macros +[http-inlinemacro] +<ulink url="{name}:{target}">{0={name}:{target}}</ulink> +[https-inlinemacro] +<ulink url="{name}:{target}">{0={name}:{target}}</ulink> +[ftp-inlinemacro] +<ulink url="{name}:{target}">{0={name}:{target}}</ulink> +[file-inlinemacro] +<ulink url="{name}:{target}">{0={name}:{target}}</ulink> +[mailto-inlinemacro] +<ulink url="{name}:{target}">{0={target}}</ulink> +#<email>{target}</email> +[link-inlinemacro] +<ulink url="{target}">{0={target}}</ulink> +# anchor:id[text] +[anchor-inlinemacro] +<anchor id="{target}" xreflabel="{0=[{target}]}"/> +# [[id,text]] +[anchor2-inlinemacro] +<anchor id="{1}" xreflabel="{2=[{1}]}"/> +# [[[id]]] +[anchor3-inlinemacro] +<anchor id="{1}" xreflabel="[{1}]"/>[{1}] +# xref:id[text] +[xref-inlinemacro] +<link linkend="{target}">{0}</link> +{2%}<xref linkend="{target}"/> +# <<id,text>> +[xref2-inlinemacro] +<link linkend="{1}">{2}</link> +{2%}<xref linkend="{1}"/> + + +# Special word macros +[emphasizedwords] +<emphasis>{words}</emphasis> +[monospacedwords] +<literal>{words}</literal> +[strongwords] +<emphasis role="strong">{words}</emphasis> + +# Paragraph substitution. +[paragraph] +<formalpara{id? id="{id}"}><title>{title}</title><para> +{title%}<simpara{id? id="{id}"}> +| +{title%}</simpara> +{title#}</para></formalpara> +{empty} + +[admonitionparagraph] +<{name}{id? id="{id}"}><simpara>|</simpara></{name}> + +[literalparagraph] +# The literal block employs the same markup. +template::[literalblock] + +[verseparagraph] +template::[verseblock] + +# Delimited blocks. +[literalblock] +<example><title>{title}</title> +<literallayout{id? id="{id}"} class="{font=monospaced}"> +| +</literallayout> +{title#}</example> + +[listingblock] +<example><title>{title}</title> +<screen> +| +</screen> +{title#}</example> + +[verseblock] +<formalpara{id? id="{id}"}><title>{title}</title><para> +{title%}<literallayout{id? id="{id}"}> +{title#}<literallayout> +| +</literallayout> +{title#}</para></formalpara> + +[sidebarblock] +<sidebar{id? id="{id}"}> +<title>{title}</title> +| +</sidebar> + +[backendblock] +| + +[quoteblock] +# The epigraph element may be more appropriate than blockquote. +<blockquote{id? id="{id}"}> +<title>{title}</title> +<attribution> +{attribution} +<citetitle>{citetitle}</citetitle> +</attribution> +| +</blockquote> + +[exampleblock] +<{title?example}{title!informalexample}{id? id="{id}"}> +<title>{title}</title> +| +</{title?example}{title!informalexample}> + +[admonitionblock] +<{name}{id? id="{id}"}> +<title>{title}</title> +| +</{name}> + +# Tables. +[tabledef-default] +template=table +colspec=<colspec colwidth="{colwidth}{pageunits}" align="{colalign}"/> +bodyrow=<row>|</row> +bodydata=<entry>|</entry> + +[table] +<{title?table}{title!informaltable}{id? id="{id}"} pgwide="0" +frame="{frame=topbot}" +{grid%rowsep="0" colsep="0"} +{eval:\{"none":"rowsep=\"0\" colsep=\"0\"", "cols":"rowsep=\"0\" colsep=\"1\"", "all":"rowsep=\"1\" colsep=\"1\"", "rows":"rowsep=\"1\" colsep=\"0\"" \}["{grid}"]} +> +<title>{title}</title> +<tgroup cols="{cols}"> +{colspecs} +{headrows#}<thead> +{headrows} +{headrows#}</thead> +{footrows#}<tfoot> +{footrows} +{footrows#}</tfoot> +<tbody> +{bodyrows} +</tbody> +</tgroup> +</{title?table}{title!informaltable}> + +[specialsections] +ifdef::doctype-article[] +^Abstract$=sect-abstract +endif::doctype-article[] + +ifdef::doctype-book[] +^Colophon$=sect-colophon +^Dedication$=sect-dedication +^Preface$=sect-preface +endif::doctype-book[] + +^Index$=sect-index +^(Bibliography|References)$=sect-bibliography +^Glossary$=sect-glossary +^Appendix [A-Z][:.](?P<title>.*)$=sect-appendix + +# Special sections. +[sect-preface] +<preface{id? id="{id}"}> +<title>{title}</title> +| +</preface> + +[sect-index] +<index{id? id="{id}"}> +<title>{title}</title> +| +</index> + +[sect-bibliography] +<bibliography{id? id="{id}"}> +<title>{title}</title> +| +</bibliography> + +[sect-glossary] +<glossary{id? id="{id}"}> +<title>{title}</title> +| +</glossary> + +[sect-appendix] +<appendix{id? id="{id}"}> +<title>{title}</title> +| +</appendix> + + +[header-declarations] +<?xml version="1.0" encoding="{encoding}"?> +<!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"> + +#------------------------- +# article document type +#------------------------- +ifdef::doctype-article[] + +[header] +template::[header-declarations] + +<article lang="ja"> +{doctitle#}<articleinfo> + <title>{doctitle}</title> + <date>{date}</date> + {authored#}<author> + <firstname>{firstname}</firstname> + <othername>{middlename}</othername> + <surname>{lastname}</surname> + <affiliation><address><email>{email}</email></address></affiliation> + {authored#}</author> + +# If file named like source document with -revhistory.xml suffix exists +# include it as the document history, otherwise use current revision. +{revisionhistory#}{include:{docdir}/{docname}-revhistory.xml} +{revisionhistory%}<revhistory><revision><revnumber>{revision}</revnumber><date>{date}</date>{revremark?<revremark>{revremark}</revremark>}</revision></revhistory> + + <corpname>{companyname}</corpname> +{doctitle#}</articleinfo> + +[footer] +</article> + +[preamble] +# Untitled elements between header and first section title. +| + +[sect-abstract] +<abstract{id? id="{id}"}> +| +</abstract> + +[sect1] +<section{id? id="{id}"}> +<title>{title}</title> +| +</section> + +[sect2] +<section{id? id="{id}"}> +<title>{title}</title> +| +</section> + +[sect3] +<section{id? id="{id}"}> +<title>{title}</title> +| +</section> + +[sect4] +<section{id? id="{id}"}> +<title>{title}</title> +| +</section> + +endif::doctype-article[] + +#------------------------- +# manpage document type +#------------------------- +ifdef::doctype-manpage[] + +[replacements] +# The roff format does not substitute special characters so just print them as +# text. +\(C\)=(C) +\(TM\)=(TM) + +[header] +template::[header-declarations] +<refentry> +<refmeta> +<refentrytitle>{mantitle}</refentrytitle> +<manvolnum>{manvolnum}</manvolnum> +</refmeta> +<refnamediv> + <refname>{manname}</refname> + <refpurpose>{manpurpose}</refpurpose> +</refnamediv> + +[footer] +</refentry> + +# Section macros +[sect-synopsis] +<refsynopsisdiv{id? id="{id}"}> +| +</refsynopsisdiv> + +[sect1] +<refsect1{id? id="{id}"}> +<title>{title}</title> +| +</refsect1> + +[sect2] +<refsect2{id? id="{id}"}> +<title>{title}</title> +| +</refsect2> + +[sect3] +<refsect3{id? id="{id}"}> +<title>{title}</title> +| +</refsect3> + +endif::doctype-manpage[] + +#------------------------- +# book document type +#------------------------- +ifdef::doctype-book[] + +[header] +template::[header-declarations] + +<book lang="ja"> +{doctitle#}<bookinfo> + <title>{doctitle}</title> + <date>{date}</date> + {authored#}<author> + <firstname>{firstname}</firstname> + <othername>{middlename}</othername> + <surname>{lastname}</surname> + <affiliation><address><email>{email}</email></address></affiliation> + {authored#}</author> + +# If file named like source document with -revhistory.xml suffix exists +# include it as the document history, otherwise use current revision. +{revisionhistory#}{include:{docdir}/{docname}-revhistory.xml} +{revisionhistory%}<revhistory><revision><revnumber>{revision}</revnumber><date>{date}</date>{revremark?<revremark>{revremark}</revremark>}</revision></revhistory> + + <corpname>{companyname}</corpname> +{doctitle#}</bookinfo> + +[footer] +</book> + +[preamble] +# Preamble is not allowed in DocBook book so wrap it in a preface. +<preface{id? id="{id}"}> +<title>Preface</title> +| +</preface> + +[sect-dedication] +<dedication{id? id="{id}"}> +| +</dedication> + +[sect-colophon] +<colophon{id? id="{id}"}> +| +</colophon> + +[sect0] +<part{id? id="{id}"}> +<title>{title}</title> +| +</part> + +[sect1] +<chapter{id? id="{id}"}> +<title>{title}</title> +| +</chapter> + +[sect2] +<section{id? id="{id}"}> +<title>{title}</title> +| +</section> + +[sect3] +<section{id? id="{id}"}> +<title>{title}</title> +| +</section> + +[sect4] +<section{id? id="{id}"}> +<title>{title}</title> +| +</section> + +endif::doctype-book[] + +ifdef::sgml[] +# +# Optional DocBook SGML. +# +# Most of the differences between DocBook XML and DocBook SGML boils +# down to the empty element syntax: SGML does not like the XML empty +# element <.../> syntax, use <...> instead. +# +[miscellaneous] +outfilesuffix=.sgml + +[header-declarations] +<!DOCTYPE {eval:\{"article":"article", "book":"book", "manpage":"refentry"\}["{doctype}"]} PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> + +[tabledef-default] +colspec=<colspec colwidth="{colwidth}{pageunits}" align="{colalign}"> + +[image-inlinemacro] +<inlinemediaobject> + <imageobject> + <imagedata fileref="{target}"{width? width="{width}pt"}{height? depth="{height}pt"}> + </imageobject> + <textobject><phrase>{1={target}}</phrase></textobject> +</inlinemediaobject> + +[image-blockmacro] +<figure><title>{title}</title> +{title%}<informalfigure> +<mediaobject> + <imageobject> + <imagedata fileref="{target}"{width? width="{width}pt"}{height? depth="{height}pt"}> + </imageobject> + <textobject><phrase>{1={target}}</phrase></textobject> +</mediaobject> +{title#}</figure> +{title%}</informalfigure> + +# Inline macros +[xref-inlinemacro] +<link linkend="{target}">{0}</link> +{2%}<xref linkend="{target}"> +[xref2-inlinemacro] +# <<id,text>> +<link linkend="{1}">{2}</link> +{2%}<xref linkend="{1}"> +[anchor-inlinemacro] +<anchor id="{target}" xreflabel="{0=[{target}]}"> +[anchor2-inlinemacro] +# [[id,text]] +<anchor id="{1}" xreflabel="{2=[{1}]}"> + +endif::sgml[] diff --git a/sys/src/cmd/hg/doc/ja/docbook.ja.xsl b/sys/src/cmd/hg/doc/ja/docbook.ja.xsl new file mode 100644 index 000000000..aba2d65c1 --- /dev/null +++ b/sys/src/cmd/hg/doc/ja/docbook.ja.xsl @@ -0,0 +1,23 @@ +<?xml version='1.0' encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/> + <xsl:output encoding="UTF-8"/> + + <xsl:template match="refnamediv"> + <xsl:text>.SH åå </xsl:text> + <xsl:for-each select="refname"> + <xsl:if test="position()>1"> + <xsl:text>, </xsl:text> + </xsl:if> + <xsl:value-of select="."/> + </xsl:for-each> + <xsl:text> \- </xsl:text> + <xsl:value-of select="normalize-space (refpurpose)"/> + </xsl:template> + + <xsl:template match="refsynopsisdiv"> + <xsl:text> .SH "æžåŒ" </xsl:text> + <xsl:apply-templates/> + </xsl:template> + +</xsl:stylesheet> diff --git a/sys/src/cmd/hg/doc/ja/hg.1.ja.txt b/sys/src/cmd/hg/doc/ja/hg.1.ja.txt new file mode 100644 index 000000000..889cb4b57 --- /dev/null +++ b/sys/src/cmd/hg/doc/ja/hg.1.ja.txt @@ -0,0 +1,867 @@ +HG(1) +===== +Matt Mackall <mpm@selenic.com> + +åå +-- +hg - Mercurial ãœãŒã¹ã³ãŒã管çã·ã¹ãã + +æžåŒ +-- +'hg' [-v -d -q -y] <command> [command options] [files] + +説æ +-- +hg(1) ã³ãã³ã㯠Mercurial ã·ã¹ãã ãžã®ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒãã§ +ã€ã¹ãæäŸããŸãã + +ãªãã·ã§ã³ +---- + +-R, --repository:: + ãªããžããªã®ã«ãŒããã£ã¬ã¯ããªãæå®ããŸãã + +--cwd:: + äœæ¥ãã£ã¬ã¯ããªã倿ŽããŸãã + +-y, --noninteractive:: + ããã³ãããåºããã«ãèŠæ±ãããçããå
šãŠ 'yes' ã§ãããšä»®å® + ããŸãã + +-q, --quiet:: + åºåãæå¶ããŸãã + +-v, --verbose:: + ãããªãåºåãå¯èœã«ããŸãã + +7--debug:: + ãããã°åºåãå¯èœã«ããŸãã + +--traceback:: + äŸå€æã«ãã¬ãŒã¹ããã¯ã衚瀺ããŸãã + +--time:: + ã³ãã³ãã«ã©ã®ãããæéãããããã衚瀺ããŸãã + +--profile:: + ã³ãã³ããå®è¡ãããšãã®ãããã¡ã€ã«ã衚瀺ããŸãã + +--version:: + ããŒãžã§ã³æ
å ±ã衚瀺ããŠçµäºããŸãã + +-h, --help:: + ãã«ãã衚瀺ããŠçµäºããŸãã + +ã³ãã³ãã®èŠçŽ +------- + +files ...:: + 1ã€ä»¥äžã®ãã¡ã€ã«åãçžå¯Ÿçãªãã¹ã衚ããŸã; ãã¿ãŒã³ãããã³ + ã°ã®æ
å ±ã¯ããã¡ã€ã«åã®ãã¿ãŒã³ããåç
§ããŠãã ããã + +path:: + ããŒã«ã«ãã·ã³äžã®ãã¹ã衚ããŸã + +revision:: + ãã§ã³ãžã»ããã®ãªããžã§ã³ãã³ããŒ, ã¿ã°, ãã§ã³ãžã»ããã®ãã + ã·ã¥å€ã®ãŠããŒã¯ãªéšåæååã«ããæå®ã§ãããã§ã³ãžã»ããã衚 + ããŸã + +repository path:: + ããŒã«ã«ã®ãªããžããªã®ãã¹åããªã¢ãŒãã®ãªããžããªã® URI ã衚 + ããŸããURI ã®ãããã³ã«ãšããŠã¯çŸåš 2 ã€ãå©çšå¯èœã§ãã + http:// ã¯é«éã§ãstatic-http:// ã¯é
ãã§ãããŠã§ãã®ãã¹ãã«ç¹å¥ + ãªãµãŒããå¿
èŠãšããŸããã + +ã³ãã³ã +---- + +add [options] [files ...]:: + ãã¡ã€ã«ãããŒãžã§ã³ç®¡çäžã«çœ®ããªããžããªã«è¿œå ããããšãäºå® + ããŸãã + + ãã¡ã€ã«ã¯æ¬¡ã«ã³ãããæã«ãªããžããªã«è¿œå ãããŸãã + + ãã¡ã€ã«åãäžããããªããã°ãçŸåšã®ãã£ã¬ã¯ããªãšãµããã£ã¬ã¯ + ããªã®å
šãŠã®ãã¡ã€ã«ã远å ããŸãã + +addremove [options] [files ...]:: + æ°ãããã¡ã€ã«ãå
šãŠè¿œå ãç¡ããªã£ããã¡ã€ã«ãå
šãŠãªããžããªã + ãåãé€ããŸãã + + æ°ãããã¡ã€ã«ã¯ .hgignore äžã®ãã¿ãŒã³ã«ãããããå Žåç¡èŠã + ããŸããadd ã®ããã«ãã®å€æŽã¯æ¬¡ã®ã³ãããæã«å¹æãæã¡ãŸãã + +annotate [-r <rev> -u -n -c] [files ...]:: + ãã¡ã€ã«äžã®å€æŽãåæããåè¡ã®åå ã§ãããªããžã§ã³ id ã衚瀺 + ããŸãã + + ãã®ã³ãã³ããã倿Žãçããéã«èª°ããã®å€æŽãããããçºèŠãã + ã®ã«åœ¹ã«ç«ã¡ãŸãã + + -a ãªãã·ã§ã³ãç¡ããšãannotate ã¯ãã€ããªãšããŠæ€åºããããã¡ + ã€ã«ãé¿ããããã«ãªããŸãã-a ããããšãannotate ã¯ãšãããæ³š + éãçæããããããæãŸãããªãçµæã«ãªãã§ãããã + + ãªãã·ã§ã³: + -a, --text å
šãŠã®ãã¡ã€ã«ãããã¹ããšããŠæ±ããŸã + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå«ã + ãŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ + ããŸã + -r, --revision <rev> æå®ããããªããžã§ã³ã®æ³šéãçæããŸã + -u, --user èè
ãåæããŸã + -c, --changeset ãã§ã³ãžã»ãããåæããŸã + -n, --number ãªããžã§ã³ãã³ããŒãåæããŸã + (ããã©ã«ã) + +bundle <file> <other>:: + (å®éšç) + + ä»ã®ãªããžããªã«ã¯èŠä»ãããªãã£ãå
šãŠã®ãã§ã³ãžã»ãããéããã + å§çž®æžã¿ãã§ã³ãžã°ã«ãŒããã¡ã€ã«ãçæããŸãã + + ãã®ãã¡ã€ã«ã¯åŸæ¥ã®æ¹æ³ã§è»¢éããããšãã§ããä»ã®ãªããžããªã« + unbundle ã³ãã³ãã§é©çšã§ããŸãããã㯠push ãš pull ã䜿ã㪠+ ããããªããžããªå
šäœããšã¯ã¹ããŒãããŠããŸãããšãæãŸãããªã + ãšãã«äŸ¿å©ã§ããæšæºã®ãã¡ã€ã«æ¡åŒµå㯠".hg" ã§ãã + + import/export ãšéã£ãŠãããã¯ããŒããã·ã§ã³ãåå倿Žã®ããŒã¿ã + ãªããžã§ã³ã®å±¥æŽãå«ãããã§ã³ãžã»ããã®å
容å
šãŠãä¿åããŸãã + +cat [options] <file ...>:: + æå®ããããã¡ã€ã«ãäžãããããªããžã§ã³ã®å
容ã§è¡šç€ºããŸãã㪠+ ããžã§ã³ãæå®ãããªãã£ãå Žå㯠tip ã䜿ãããŸãã + + åºåã¯ãã¡ã€ã«ã«å¯ŸããŠãå¯èœã§ãããã®å Žåããã¡ã€ã«åã¯ãã©ãŒ + ãããæååã«ããæå®ãããŸãããã©ãŒãããèŠå㯠export ã³ã + ã³ããšåãã§ãããããã«æ¬¡ã®ãã®ã远å ãããŸãã + + %s åºåããããã¡ã€ã«ã®ããŒã¹å + %d åºåããããã¡ã€ã«ã®ãã£ã¬ã¯ããªåãããªããžããªã®ã«ãŒã + ã«ããå Žå㯠"." + %p åºåããããã¡ã€ã«ã®ã«ãŒãããã®çžå¯Ÿãã¹ + + ãªãã·ã§ã³: + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããåå + ãå«ããŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããåå + ãé€å€ããŸã + -o, --output <filespec> æŽåœ¢ãããååã§ãã¡ã€ã«ã«åºåã㟠+ ã + -r, --rev <rev> äžãããããªããžã§ã³ã衚瀺ããŸã + +clone [-U] <source> [dest]:: + æ¢åã®ãªããžããªã®ã³ããŒãæ°ãããã£ã¬ã¯ããªã«äœæããŸã + + ã³ããŒå
ã®ãã£ã¬ã¯ããªåãæå®ãããªããã°ãããã©ã«ãã§ãœãŒã¹ + ã®ããŒã¹åã䜿çšããŸãã + + ä»åŸã® pull ã«äœ¿ããããã«ãã³ããŒå
ãæ°ãããªããžããªã® + .hg/hgrc ã«è¿œå ãããŸãã + + å¹çã®ããã«ãã³ããŒå
ãšã³ããŒå
ãåããã¡ã€ã«ã·ã¹ãã äžã«ãã + å Žåã¯ããŒããªã³ã¯ã䜿ãããŸãã + + ãªãã·ã§ã³ã³: + -U, --noupdate æ°ããäœæ¥ãã£ã¬ã¯ããªã§ update ãè¡ããŸãã + -e, --ssh 䜿çšããã ssh ã³ãã³ããæå®ããŸã + --remotecmd ãªã¢ãŒãåŽã§å®è¡ãã hg ã³ãã³ããæå®ããŸã + +commit [options] [files...]:: + æå®ããããã¡ã€ã«ã®å€æŽããªããžããªã«ã³ãããããŸãã + + ãããã¡ã€ã«ã®ãªã¹ããçç¥ããããããªããžããªã®ã«ãŒãããå®è¡ + ãã"hg status" ã§å ±åãããå
šãŠã®å€æŽãã³ããããããŸãã + + HGEDITOR ã EDITOR ç°å¢å€æ°ã¯ã³ãããæã®ã³ã¡ã³ãã远å ãããš + ãã£ã¿ãèµ·åããããã«äœ¿ãããŸãã + + ãªãã·ã§ã³: + + -A, --addremove ã³ãããäžã« addremove ãå®è¡ããŸã + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå«ã + ãŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ + ããŸã + -m, --message <text> <text> ãã³ãããã¡ãã»ãŒãžãšããŠäœ¿ã㟠+ ã + -l, --logfile <file> <file> ããã³ãããã¡ãã»ãŒãžãèªã¿èŸŒã¿ + ãŸã + -d, --date <datecode> datecode ãã³ãããããæ¥ä»ãšããŠèšé²ã + ãŸã + -u, --user <user> user ãã³ããã¿ãšããŠèšé²ããŸãã + + å¥å: ci + +copy <source ...> <dest>:: + ã³ããŒå
ãã³ããŒå
ã®ãã¡ã€ã«ã®ã³ããŒãæã£ãŠãããšå°ãä»ããŸãã + ããã³ããŒå
ããã£ã¬ã¯ããªãªããã³ããŒã¯ãã£ã¬ã¯ããªäžã«çœ®ãã + ãŸããããã³ããŒå
ããã¡ã€ã«ãªããã³ããŒå
ã¯1ã€ã®ã¿æå®å¯èœã§ + ãã + + ããã©ã«ãã§ã¯ããã®ã³ãã³ãã¯ãã¡ã€ã«ããã®äœæ¥ãã£ã¬ã¯ããªã« + ãããã®ãšããŠãã®å
容ãã³ããŒããŸãããã --after ãšäžç·ã«åŒ + ã³åºãããã°ãæäœã¯èšé²ãããŸãããã³ããŒã¯å®è¡ãããŸããã + + ãã®ã³ãã³ãã¯æ¬¡ã®ã³ãããæã«å¹æãæã¡ãŸãã + + 泚æ: ãã®ã³ãã³ãã¯å®éšçã§ãããªããŒã ããããã¡ã€ã«ãé©åã« + èšé²ã§ããŸããããã®æ
å ±ã¯ããŒãžã«ãã£ãŠãŸã å®å
šã«ã¯äœ¿ãããŸã + ããããã°ã§å®å
šã«å ±åãããããšããããŸããã + + ãªãã·ã§ã³: + -A, --after æ¢ã«çºçããã³ããŒãèšé²ããŸãã + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå«ã + ãŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ + ããŸã + -f, --force æ¢åã®å€æŽããããã¡ã€ã«ã«ç¡çç¢çã³ã㌠+ ããŸã + -p, --parents ã³ããŒå
ã«ã³ããŒå
ã®ãã¹ã远å ããŸã + + å¥å: cp + +diff [-a] [-r revision] [-r revision] [files ...]:: + æå®ããããã¡ã€ã«ã®ãªããžã§ã³éã®å·®åã衚瀺ããŸãã + + ãã¡ã€ã«éã®å·®å㯠unified diff 圢åŒã§è¡šç€ºãããŸãã + + 2ã€ã®ãªããžã§ã³ãåŒæ°ãšããŠæå®ãããå Žåããããã®ãªããžã§ã³ + éã®å·®åã衚瀺ãããŸãã1ã€ã®ãªããžã§ã³ããæå®ãããªããã°ã + ãã®ãªããžã§ã³ã¯äœæ¥ãã£ã¬ã¯ããªãšæ¯èŒãããŸãããã㊠ãªããžã§ + ã³ãæå®ãããªããã°ãäœæ¥ãã£ã¬ã¯ããªã®ãã¡ã€ã«ããã®èŠªãšæ¯èŒ + ãããŸãã + + -a ãªãã·ã§ã³ç¡ãã§ã¯ãdiff ã¯ãã€ããªãã¡ã€ã«ãæ€åºãããšãã« + ãã®å·®åãçæããã®ãé¿ããŸãã-a ãªãã·ã§ã³ã§ã¯ãdiff ã¯ãšã« + ããå·®åãçæããæããæãŸãããªãçµæãããããã§ãããã + + ãªãã·ã§ã³: + -a, --text å
šãŠã®ãã¡ã€ã«ãããã¹ããšããŠæ±ããŸã + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå«ã + ãŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ + ããŸã + +export [-o filespec] [revision] ...:: + 1ã€ä»¥äžã®ãªããžã§ã³ã®ãã§ã³ãžã»ããã®ããããšå·®åãåºåããŸãã + + ãã§ã³ãžã»ããã®ãããã«è¡šç€ºãããæ
å ±ã¯: èè
ããã§ã³ãžã»ãã + ã®ããã·ã¥ã芪ãã³ãããæã®ã³ã¡ã³ãã§ãã + + åºåã¯ãã¡ã€ã«ã«å¯ŸããŠãå¯èœã§ãããã®å Žåããã¡ã€ã«åã¯ãã©ãŒ + ãããæååã«ããæå®ãããŸãããã©ãŒãããèŠåã¯äžèšã®éãã§ + ã: + + %% ãã®ãŸãŸã® "%" æå + %H ãã§ã³ãžã»ããã®ããã·ã¥ (40 ãã€ãã® 16 鲿°) + %N çæãããŠãããããã®çªå· + %R ãã§ã³ãžã»ããã®ãªããžã§ã³ãã³ã㌠+ %b ãšã¯ã¹ããŒãããŠãããªããžããªã®ã¡ãŒã¹å + %h çã圢åŒã®ãã§ã³ãžã»ããã®ããã·ã¥ (12 ãã€ãã® 16 鲿°) + %n 0 ã§ è©°ãããã 1 ããå§ãŸãé£çª + %r 0 ã§ è©°ãããããªããžã§ã³ãã³ã㌠+ + -a ãªãã·ã§ã³ç¡ãã§ã¯ãdiff ã¯ãã€ããªãã¡ã€ã«ãæ€åºãããšãã« + ãã®å·®åãçæããã®ãé¿ããŸãã-a ãªãã·ã§ã³ã§ã¯ãdiff ã¯ãšã« + ããå·®åãçæããæããæãŸãããªãçµæãããããã§ãããã + + ãªãã·ã§ã³: + -a, --text å
šãŠã®ãã¡ã€ã«ãããã¹ããšããŠæ±ããŸã + -o, --output <filespec> æŽåœ¢ãããååã§ãã¡ã€ã«ã«åºåããŸã + +forget [options] [files]:: + 次ã®ã³ãããæã«äºå®ããã 'hg add' ãåãæ¶ããŸãã + + ãªãã·ã§ã³: + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå«ã㟠+ -ãX, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ + -ããŸã + +grep [options] pattern [files]:: + æ£èŠè¡šçŸã«ãããã¡ã€ã«ã®ãªããžã§ã³ãæ€çŽ¢ããŸãã + + ãã®ã³ãã³ã㯠Unix ã® grep ãšã¯éãæ¯èããããŸãããã㯠+ Python/Perl ã®æ£èŠè¡šçŸã ããåãã€ããŸããããã¯äœæ¥ãã£ã¬ã¯ã + ãªã§ã¯ãªããªããžããªã®å±¥æŽãæ€çŽ¢ããŸããããã¯åžžã«ãããããã + ã®ãçŸãããªããžã§ã³ãã³ããŒã衚瀺ããŸãã + + ããã©ã«ãã§ã¯ãgrep ã¯ããããããã®ãèŠã€ãã£ããã¡ã€ã«ã®æ + åã®ãªããžã§ã³ãåºåããŸãããããç¶æ³ã®å€å("-" ã¯ããããé + ãããã«ã"+" ã¯éãããããããã«)ãå«ãã åãªããžã§ã³ã衚瀺 + ããã«ã¯ã--all ãã©ã°ã䜿ã£ãŠãã ããã + + ãªãã·ã§ã³: + -0, --print0 ãã¡ã€ã«åã NUL ã§çµããŸãã + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããåå + ãå«ããŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããåå + ãé€å€ããŸã + --all ãããããå
šãŠã®ãªããžã§ã³ã衚瀺ã + ãŸã + -i, --ignore-case ãããã®ãšãã«è±å€§æåãšå°æåãåº + å¥ããªãããã«ããŸã + -l, --files-with-matches ããããããã¡ã€ã«åãšãªããžã§ã³ã® + ã¿ã衚瀺ããŸã + -n, --line-number ãããããè¡çªå·ã衚瀺ããŸã + -r, --rev <rev> æå®ããããªããžã§ã³ã®éã§æ€çŽ¢ã㟠+ ã + -u, --user ãã®å€æŽãã³ããããããŠãŒã¶ã衚瀺 + ããŸã + +heads:: + ãªããžããªã®å
é ã®ãã§ã³ãžã»ãããå
šãŠè¡šç€ºããŸãã + + ãªããžããªã®ãå
é ããšã¯åã®ãã§ã³ãžã»ãããæã£ãŠããªããã§ã³ + ãžã»ããã§ãããããã¯å€§æµéçºãè¡ãããå Žæã§ãéåžž update ãš + merge æäœã®å¯Ÿè±¡ãšãªããšããã§ãã + +identify:: + ã¬ããžããªã®çŸåšã®ç¶æ
ã®çããµããªã衚瀺ããŸãã + + ãã®ãµããªã¯ãªããžããªã®ç¶æ
ã1ã€ãŸãã¯2ã€ã®èŠªã®ããã·ã¥èå¥å + ã䜿ã£ãŠèå¥ããŸãã芪ã®ããã·ã¥èå¥åã¯ããäœæ¥ãã£ã¬ã¯ããªã« + ã³ããããããŠããªã倿Žãããã°åŸãã« + ãä»ããæŽã«ãã®åŸã« + ãã®ãªããžã§ã³ã®ã¿ã°ã®ãªã¹ããä»ããŸãã + + å¥å: id + +import [-p <n> -b <base> -f] <patches>:: + äžé£ã®ããããã€ã³ããŒãããããããåå¥ã«ã³ãããããŸãã + + äœæ¥ãã£ã¬ã¯ããªã«æªè§£æ±ºã®å€æŽããã£ãå Žåãimport 㯠-f ãã© + ã°ãæå®ãããŠãªããã°äžæããŸãã + + ããããããã¡ãŒã«ã®ãã(æåã®è¡ã "From " ã RFC 822 ããã + ã®ãã) ã§ããã°ã-f ãªãã·ã§ã³ã䜿ãããŠããªãéãããã¯é©çš + ãããŸãããã€ã³ããŒãæ©æ§ã¯ã¡ãŒã«ã®ããããããŒã¹ãããªããã° + ç Žæ£ãããªãã®ã§ãæ¬ç©ã®ã¡ãŒã«ãã€ã³ããŒãããªãããã«ãããã¡ãŒ + ã«ã®ãããªãã®ã®ãå¥å
šæ§ãã§ãã¯ãäžæžãããããã ãã« -f ã䜿㣠+ ãŠãã ããã + + ãªãã·ã§ã³: + -p, --strip <n> patch ã® ãã£ã¬ã¯ããªé€å»ãªãã·ã§ã³ã§ãããã + ã¯é¢é£ãã patch ã®ãªãã·ã§ã³ãšåãæå³ãæã¡ + ãŸã + -b <path> ããããèªã¿èŸŒãããŒã¹ãšãªããã£ã¬ã¯ããªãæ + å®ããŸã + -f, --force æªè§£æ±ºã§ãŸã ã³ããããããŠããªã倿Žã®ãã§ã + ã¯ãçç¥ããŸã + + å¥å: patch + +incoming [-p] [source]:: + æå®ããããªããžããªããããã©ã«ãã§ pull ãããªããžããªäžã«èŠ + ã€ãã£ãæ°ãããã§ã³ãžã»ããã衚瀺ããŸããããã㯠pull ãèŠæ± + ããããšãã«pull ããããã§ã³ãžã»ããã§ãã + + çŸåšã¯ããŒã«ã«ã®ãªããžããªã®ã¿ããµããŒããããŠããŸãã + + ãªãã·ã§ã³: + -p, --patch ãããã衚瀺ããŸã + + å¥å: in + +init [dest]:: + æå®ããããã£ã¬ã¯ããªäžã«æ°ãããªããžããªãåæåããŸããæå® + ããããã£ã¬ã¯ããªãååšããªãå Žåã¯äœæãããŸãã + + ãã£ã¬ã¯ããªãæå®ãããªããã°ãçŸåšã®ãã£ã¬ã¯ããªã䜿çšãã㟠+ ãã + +locate [options] [files]:: + Mercurial ã®ç®¡çäžã«ãããã¡ã€ã«ã§ååãæå®ããããã¿ãŒã³ã«ãã + ããããã®ãå
šãŠè¡šç€ºããŸãã + + ãã®ã³ãã³ãã¯çŸåšã®ãã£ã¬ã¯ããªãšãµããã£ã¬ã¯ããªãæ€çŽ¢ããŸãã + ãªããžããªå
šäœãæ€çŽ¢ããã«ã¯ããªããžããªã®ã«ãŒãã«ç§»åããŠãã + ããã + + ãããããããããã®ãã¿ãŒã³ãäžããããªããã°ããã®ã³ãã³ã㯠+ å
šãŠã®ãã¡ã€ã«ã®ååã衚瀺ããŸãã + + ãããã®ã³ãã³ãã®åºåã "xargs" ã³ãã³ãã«éããããªãã + "-0" ãªãã·ã§ã³ããã®ã³ãã³ããš "xargs" ã³ãã³ãã®äž¡æ¹ã§äœ¿çšã + ãŠãã ããããã㯠"xargs" ãã¹ããŒã¹ã®å
¥ã£ããã¡ã€ã«åãè€æ° + ã®ãã¡ã€ã«åãšããŠæ±ããªãããã«ããŸãã + + ãªãã·ã§ã³: + + -0, --print0 xargs ãšäžç·ã«äœ¿ãããã«ããã¡ã€ã«åã + NUL ã§çµããŸã + -f, --fullpath ãã¡ã€ã«ã·ã¹ãã ã®ã«ãŒãããã®å®å
šãªã + ã¹ã衚瀺ããŸã + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå« + ããŸã + -r, --rev <rev> rev ã®ãšãã®ãªããžããªãæ€çŽ¢ããŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ + ããŸã + +log [-r revision ...] [-p] [files]:: + æå®ããããã¡ã€ã«ããããžã§ã¯ãå
šäœã®ãªããžã§ã³ã®å±¥æŽã衚瀺ã + ãŸãã + + ããã©ã«ãã§ã¯ãã®ã³ãã³ãã¯æ¬¡ã®ãã®ãåºåããŸã: ãã§ã³ãžã»ã + ãã®id ãšããã·ã¥ãã¿ã°ã芪ããŠãŒã¶ãæ¥ä»ãåã³ãããã®ãµã + ãªã-v ã¹ã€ããã¯å€æŽããããã¡ã€ã«ããããã§ã¹ãã®ããã·ã¥ã + ã¡ãã»ãŒãžã®ã·ã°ããã£ãšãã£ããã詳ããæ
å ±ã远å ããŸãã + + ãªãã·ã§ã³: + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå«ã + ãŸã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ + ããŸã + -r, --rev <A> æå®ããããªããžã§ã³ãŸãã¯ç¯å²ã衚瀺ã㟠+ ã + -p, --patch ãããã衚瀺ããŸã + + å¥å: history + +manifest [revision]:: + æå®ããããªããžã§ã³ã§ããŒãžã§ã³ç®¡çãããŠãããã¡ã€ã«ã®ãªã¹ã + ã衚瀺ããŸãã + + manifest ã¯ããŒãžã§ã³ç®¡çãããŠãããã¡ã€ã«ã®ãªã¹ãã§ãããã + ãªããžã§ã³ãæå®ãããªããã°ãtip ã䜿ãããŸãã + +outgoing [-p] [dest]:: + æå®ãããè¡ãå
ã®ãªããžããªãããã©ã«ãã§ push ãããªããžã㪠+ äžã«èŠä»ãããªãã£ããã§ã³ãžã»ããã衚瀺ããŸããããã㯠push + ãèŠæ±ããããšãã« push ãããã§ããããã§ã³ãžã»ããã§ãã + + ãªãã·ã§ã³: + -p, --patch ãããã衚瀺ããŸã + + å¥å: out + +parents:: + äœæ¥ãã£ã¬ã¯ããªã®èŠªãªããžã§ã³ã衚瀺ããŸãã + +paths [NAME]:: + ã·ã³ãã«ã®ãã¹åã§ãã NAME ã®è¡ãå
ã衚瀺ããŸããããã·ã³ãã« + åãæå®ãããªããã°ãå©çšå¯èœãªã·ã³ãã«åã®è¡ãå
ã衚瀺ããŸãã + + ãã¹å㯠/etc/mercurial/hgrc ãš $HOME/.hgrc ã® [paths] ã»ã¯ã·ã§ + ã³ã§å®çŸ©ãããŸãããããªããžããªã®å
éšã§å®è¡ãããå Ž + åã.hg/hgrc ã䜿çšãããŸãã + +pull <repository path>:: + ãªã¢ãŒãã®ãªããžããªã®å€æŽãããŒã«ã«ã®ãªããžããªã« pull ããŸãã + + ããã¯æå®ããããã¹ã URL ã«ãããªããžããªã®å
šãŠã®å€æŽãèŠã€ + ããŠãããããããŒã«ã«ã®ãªããžããªã«è¿œå ããŸããããã©ã«ãã§ã¯ã + ããã¯äœæ¥ãã£ã¬ã¯ããªã®ãããžã§ã¯ãã®ã³ããŒãæŽæ°ããŸããã + + æå¹ãª URL ã®æ¬¡ã®åœ¢åŒã§ã: + + local/filesystem/path + http://[user@]host[:port][/path] + https://[user@]host[:port][/path] + ssh://[user@]host[:port][/path] + + SSH ã¯è¡ãå
ã®ãã·ã³ã®ã·ã§ã«ã¢ã«ãŠã³ããšããªã¢ãŒãã®ãã¹ã«hg + ã®ã³ããŒãå¿
èŠã«ãªããŸããSSH ã䜿çšãããšããã¹ã¯ããã©ã«ãã§ + ã¯ãªã¢ãŒãã®ãŠãŒã¶ã®ããŒã ãã£ã¬ã¯ããªã®çžå¯Ÿãã¹ã«ãªããŸã; ãã¡ + ã€ã«ã·ã¹ãã ã®ã«ãŒãããã®çžå¯Ÿãã¹ã§ããããšãæå®ããã«ã¯ãã + ã¹ã®æåã«ã¹ã©ãã·ã¥ã 2ã€äœ¿çšããŠãã ããã + + ãªãã·ã§ã³: + -u, --update pull ã®åŸã«äœæ¥ãã£ã¬ã¯ããªã tip ã«æŽæ°ããŸã + -e, --ssh 䜿çšãã ssh ã³ãã³ããæå®ããŸã + --remotecmd ãªã¢ãŒãåŽã§äœ¿ããã hg ã³ãã³ããæå®ããŸã + +push <destination>:: + ããŒã«ã«ã®ãªããžããªã®å€æŽãæå®ãããè¡ãå
ã« push ããŸãã + + ãã㯠pull ãšå¯Ÿç§°çãªæäœã§ããããã¯çŸåšã®ãªããžããªã®å€æŽã + ä»ã®ãªããžããªãžç§»ãã®ã«åœ¹ç«ã¡ãŸããããè¡ãå
ãããŒã«ã«ã§ãã + ã°ãããã¯ãã®ãã£ã¬ã¯ããªããçŸåšã®ãã£ã¬ã¯ããªã«å¯Ÿã㊠pull + ããã®ãšåãã§ãã + + ããã©ã«ãã§ã¯ãpush ã¯å®è¡ããçµæãªã¢ãŒãã®ãããã®æ°ãå¢ã + ããªãã°ãå®è¡ãæåŠããŸããããã¯ãããŠãã¯ã©ã€ã¢ã³ãã push + ããåã« sync ãšmerge ãå¿ããŠããããšãæå³ããŸãã + + æå¹ãª URL ã¯æ¬¡ã®åœ¢åŒã§ã: + + local/filesystem/path + ssh://[user@]host[:port][/path] + + SSH ã¯è¡ãå
ã®ãã·ã³ã®ã·ã§ã«ã¢ã«ãŠã³ããšããªã¢ãŒãã®ãã¹ã« hg + ã®ã³ããŒãå¿
èŠã«ãªããŸãã + + ãªãã·ã§ã³: + + -f, --force update ã匷è¡ããŸã + -e, --ssh 䜿çšããã ssh ã³ãã³ããæå®ããŸã + --remotecmd ãªã¢ãŒãåŽã§å®è¡ããã hg ã³ãã³ããæå®ããŸã + +rawcommit [-p -d -u -F -m -l]:: + äœã¬ãã«ã®ã³ãããã§ããã«ããŒã¹ã¯ãªããäžã§äœ¿çšãããŸãã + + ãã®ã³ãã³ãã¯éåžžã®ãŠãŒã¶ã«äœ¿ãããããšã¯æ³å®ããŠããŸãããã + ãã¯äž»ã«ä»ã® SCM ããã€ã³ããŒããããšãã«äŸ¿å©ã§ãã + +recover:: + äžæããã commit ã pull ãã埩垰ããŸãã + + ãã®ã³ãã³ãã¯äžæãããæäœãããªããžããªã®ç¶æ
ãä¿®æŽããããš + 詊ã¿ãŸãããã㯠Mercurial ãããããããææ¡ãããšãã®ã¿å¿
èŠ + ã§ãããã + +remove [options] [files ...]:: + æå®ããããã¡ã€ã«ããªããžããªããåé€ããããšãäºå®ããŸãã + + ãã®ã³ãã³ãã¯ãã¡ã€ã«ã次ã®ã³ãããæã«åé€ããããšãäºå®ã㟠+ ãããã®ã³ãã³ãã¯ãã¡ã€ã«ãçŸåšã®æããåãé€ãã ãã§ããããžã§ + ã¯ãã®å±¥æŽå
šäœããã¯åé€ããŸããããããã¡ã€ã«ãäœæ¥ãã£ã¬ã¯ã + ãªäžã«ãŸã ååšããŠããã°ããããã¯äœæ¥ãã£ã¬ã¯ããªããåé€ãã + ãŸãã + + å¥å: rm + +rename <source ...> <dest>:: + ã³ããŒå
ãã³ããŒå
ã®ã³ããŒã®ã³ããŒã§ãããšå°ãã€ããŸã; ã³ã㌠+ å
ã«åé€ã®å°ãã€ããŸããããã³ããŒå
ããã£ã¬ã¯ããªã§ããã°ãã³ + ããŒã¯ãã®ãã£ã¬ã¯ããªäžã«çœ®ãããŸããããã³ããŒå
ããã¡ã€ã«ãª + ããã³ããŒå
㯠1 ã€ã®ã¿æå®å¯èœã§ãã + + ããã©ã«ãã§ã¯ããã®ã³ãã³ãã¯ãã¡ã€ã«ããã®äœæ¥ãã£ã¬ã¯ããªã« + ãããã®ãšããŠãã®å
容ãã³ããŒããŸãããã --after ãšäžç·ã«åŒ + ã³åºãããã°ãæäœã¯èšé²ãããŸãããã³ããŒã¯å®è¡ãããŸããã + + ãã®ã³ãã³ãã¯æ¬¡ã®ã³ãããæã«å¹æãæã¡ãŸãã + + 泚æ: ãã®ã³ãã³ãã¯å®éšçã§ãããªããŒã ããããã¡ã€ã«ãé©åã« + èšé²ã§ããŸããããã®æ
å ±ã¯ããŒãžã«ãã£ãŠãŸã å®å
šã«ã¯äœ¿ãããŸã + ããããã°ã§å®å
šã«å ±åãããããšããããŸããã + + ãªãã·ã§ã³: + -A, --after æ¢ã«çºçãããªããŒã ãèšé²ããŸã + -f, --force æ¢åã®å€æŽããããã¡ã€ã«ã«ç¡çç¢çã³ããŒã + ãŸã + -p, --parents ã³ããŒå
ã«ã³ããŒå
ã®ãã¹ã远å ããŸã + + å¥å: mv + +revert [names ...]:: + æå®ããããã¡ã€ã«ããã£ã¬ã¯ããªã®æªã³ãããã®å€æŽãåãæ¶ã㟠+ ããããã¯é¢é£ãããã¡ã€ã«ã®å
容ãã³ããããããŠãªãç¶æ
ã«æ»ã + ãŸãã + + ãããã¡ã€ã«ãåé€ãããŠããã°ãåäœæãããŸãããããã¡ã€ã«ã® + å®è¡ã¢ãŒãã倿ŽãããŠããã°ããªã»ãããããŸãã + + ãã£ã¬ã¯ããªãæå®ãããå Žåããã®ãã£ã¬ã¯ããªäžã®ãã¹ãŠã®ãã¡ + ã€ã«ãšãµããã£ã¬ã¯ããªãå
ã«æ»ãããŸãã + + ããåŒæ°ãæå®ãããªããã°ãçŸåšã®ãã£ã¬ã¯ããªäžã®å
šãŠã®ãã¡ã€ + ã«ãšãµããã£ã¬ã¯ããªãå
ã®æ»ãããŸãã + + ãªãã·ã§ã³: + -r, --rev <rev> å
ã«æ»ãå
ã®ãªããžã§ã³ãæå®ããŸã + -n, --nonrecursive ãµããã£ã¬ã¯ããªãååž°çã«èŸ¿ããªãããã« + ããŸã + +root:: + çŸåšã®ãªããžããªã®ã«ãŒããã£ã¬ã¯ããªã衚瀺ããŸãã + +serve [options]:: + ããŒã«ã«ã® HTTP ãªããžããªãš pull ãµãŒããèµ·åããŸãã + + ããã©ã«ãã§ã¯ããµãŒãã¯ã¢ã¯ã»ã¹ãã°ãæšæºåºåã«ããšã©ãŒãã°ã + æšæºãšã©ãŒåºåã«åºåããŸãããã¡ã€ã«ã«ãã°ãåãã«ã¯ "-A" ãš + "-E" ãªãã·ã§ã³ã䜿ã£ãŠãã ããã + + ãªãã·ã§ã³: + -A, --accesslog <file> ã¢ã¯ã»ã¹ãã°ãåºåããããã¡ã€ã«ã®åå + ãæå®ããŸã + -E, --errorlog <file> ãšã©ãŒãã°ãåºåããããã¡ã€ã«ã®ååã + æå®ããŸã + -a, --address <addr> 䜿çšããã¢ãã¬ã¹ãæå®ããŸã + -p, --port <n> 䜿çšããããŒããæå®ããŸã + (ããã©ã«ã: 8000) + -n, --name <name> ãŠã§ãããŒãžã§è¡šç€ºããååãæå®ããŸã + (ããã©ã«ã: working dir) + -t, --templatedir <path> 䜿çšãããŠã§ãã®éåãæå®ããŸã + -6, --ipv6 IPv4 ã«å ã㊠IPv6 ã䜿çšããŸã + +status [options] [files]:: + äœæ¥ãã£ã¬ã¯ããªäžã®å€æŽããããã¡ã€ã«ã衚瀺ããŸããååãæå® + ãããªããã°ãå
šãŠã®ãã¡ã€ã«ã衚瀺ãããŸããååãæå®ãããã°ã + æå®ãããååã«ããããããã¡ã€ã«ã®ã¿ã衚瀺ãããŸãã + + ãã¡ã€ã«ã®ç¶æ
ã衚瀺ããã®ã«äœ¿ãããèšå·: + + M = 倿ŽãããŸãã + A = 远å ãããŸãã + R = åé€ãããŸãã + ? = ããŒãžã§ã³ç®¡çäžã«ãããŸãã + + ãªãã·ã§ã³: + + -m, --modified 倿Žããããã¡ã€ã«ã®ã¿ã衚瀺ããŸã + -a, --added 远å ããããã¡ã€ã«ã®ã¿ã衚瀺ããŸã + -r, --removed åé€ããããã¡ã€ã«ã®ã¿ã衚瀺ããŸã + -u, --unknown äžæãª(ããŒãžã§ã³ç®¡çäžã«ãªã)ãã¡ã€ã«ã®ã¿ + ã衚瀺ããŸã + -n, --no-status ç¶æ
ãç€ºãæ¥é èŸãé ããŸã + -0, --print0 xargs ãšäžç·ã«äœ¿ãããã«ããã¡ã€ã«åã NUL + ã§çµããŸã + -I, --include <pat> äžãããããã¿ãŒã³ã«ãããããååãå«ã㟠+ ã + -X, --exclude <pat> äžãããããã¿ãŒã³ã«ãããããååãé€å€ã + ãŸã + +tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]:: + ç¹å®ã®ãªããžã§ã³ã« <name> ã䜿ã£ãŠååãä»ããŸãã + + ã¿ã°ã¯ãªããžããªã®ç¹å®ã®ãªããžã§ã³ã«ååãä»ããããã«äœ¿ããã + ãããŠç°ãªããªããžã§ã³ãæ¯èŒããããéèŠãªä»¥åã®ããŒãžã§ã³ã«æ»ã£ + ããããªãªãŒã¹çã®åå²ç¹ã«å°ãã€ãããããã®ã«äŸ¿å©ã§ãã + + ããããŒãžã§ã³ãæå®ãããªããã°ãtip ã䜿ãããŸãã + + ããŒãžã§ã³ç®¡çãé
åžãã¿ã°ã®ããŒãžã楜ã«ããããã«ãããã㯠+ ".hgtags" ãšããååã®ãã¡ã€ã«ã«æ ŒçŽãããä»ã®ãããžã§ã¯ãã®ãã¡ + ã€ã«ãšåæ§ã«æ±ã£ãããå¿
èŠã§ããã°æã§ç·šéã§ããŸãã + + ãªãã·ã§ã³: + -l, --local ã¿ã°ãããŒã«ã«ã«ããŸã + -m, --message <text> ã¿ã°ãã³ããããããšãã®ãã°ã®ãšã³ããªã® + ã¡ãã»ãŒãžãæå®ããŸã + -d, --date <datecode> ã³ãããã®æ¥ä»ãæå®ããŸã + -u, --user <user> ã³ããããããŠãŒã¶ãæå®ããŸã + + 泚æ: ããŒã«ã«ã®ã¿ã°ã¯ããŒãžã§ã³ç®¡çãé
åžãããããšã¯ãªãã㟠+ ã. hg/localtags ãã¡ã€ã«ã«æ ŒçŽãããŸããããåãååã®ããŒã« + ã«ã®ã¿ã°ãšå
¬éãããã¿ã°ãããã°ãããŒã«ã«ã®ã¿ã°ã䜿ãããŸãã + +tags:: + ãªããžããªã®ã¿ã°ãåæããŸãã + + ããã¯éåžžã®ã¿ã°ãšããŒã«ã«ã®ã¿ã°ãäž¡æ¹åæããŸãã + +tip:: + tip ã®ãªããžã§ã³ã衚瀺ããŸãã + +unbundle <file>:: + (å®éšç) + + bundle ã³ãã³ãã§çæããããå§çž®æžã¿ãã§ã³ãžã°ã«ãŒããã¡ã€ã« + ãé©çšããŸãã + +undo:: + æåŸã® commit ã pull ã®åŠçãåãæ¶ããŸãã + + ãªããžããªã®æåŸã® pull ã commit åŠçãå·»æ»ãããããžã§ã¯ãã + ããããåã®ç¶æ
ã«æ»ããŸãã + + ãã®ã³ãã³ãã¯æ³šæããŠäœ¿ã£ãŠãã ããããŸã 1åã® undo ã ãã§ã + redo ã¯ãããŸããã + + ãã®ã³ãã³ãã¯å
¬éãããªããžããªã§äœ¿ãããããšã¯æ³å®ããŠããŸã + ãããã£ããä»ã®ãŠãŒã¶ãã pull ã§å€æŽãèŠããããã«ãªãã°ãã㌠+ ã«ã«ã§ãããåãæ¶ããŠãæå³ããããŸããã + +update [-m -C] [revision]:: + äœæ¥ãã£ã¬ã¯ããªãæå®ããããªããžã§ã³ã«æŽæ°ããŸãã + + ããã©ã«ãã§ã¯ãæŽæ°ã«ããããŒã«ã«ã®å€æŽãããŒãžãããç Žæ£ãã + ãããããšãå¿
èŠãšãªããšããupdate ã¯ãããæåŠããŸãã + + -m ãªãã·ã§ã³ã§ãããŒãžãå®è¡ãããŸãã + + -C ãªãã·ã§ã³ã§ãããŒã«ã«ã®å€æŽã倱ãããŸãã + + ãªãã·ã§ã³: + -m, --merge æã®ããŒãžãèš±å¯ããŸã + -C, --clean ããŒã«ã«ã§å€æŽããããã¡ã€ã«ãäžæžãããŸã + + å¥å: up checkout co + +verify:: + çŸåšã®ãªããžããªã®æŽåæ§ãæ€èšŒããŸãã + + ããã¯ãªããžããªã®æŽåæ§ãå
šé¢çã«ãã§ãã¯ãããã§ã³ãžãã°ã®å + ãšã³ããªãmanifest, 管çäžã®ãã¡ã€ã«ã®ããã·ã¥ãšãã§ãã¯ãµã ã + æ€èšŒãããŸãã¯ãã¹ãªã³ã¯ãšã€ã³ãã¯ã¹ã®æŽåæ§ãæ€èšŒããŸãã + +ãã¡ã€ã«åãšãã¿ãŒã³ +--------- + + Mercurial ã§ã¯åæã«è€æ°ã®ãã¡ã€ã«ãèå¥ããã®ã«è€æ°ã®èšæ³ã䜿 + ããŸãã + + ããã©ã«ãã§ã¯ãMercurial ã¯ãã¡ã€ã«åãã·ã§ã«ã®ã¹ã¿ã€ã«ã®æ¡åŒµ + glob ãã¿ãŒã³ãšããŠæ±ããŸãã + + å¥ã®ãã¿ãŒã³è¡šèšã¯æç€ºçã«æå®ããå¿
èŠããããŸãã + + ãã¿ãŒã³ãããã³ã°ãªãã®åçŽãªãã¹åã䜿ãã«ã¯ããã¹åã + "path:" ã§å§ããŠãã ããããããã®ãã¹åã¯ãçŸåšã®ãªããžããªã® + ã«ãŒãããå®å
šã«ãããããŠããå¿
èŠããããŸãã + + æ¡åŒµ glob ã䜿ãã«ã¯ãååã "glob:" ã§å§ããŠãã ãããglob 㯠+ çŸåšã®ãã£ã¬ã¯ããªã®ã¿ã«é©çšãããŸã: "*.c" ãšãã£ã glob ã¯çŸ + åšã®ãã£ã¬ã¯ããªäžã® ".c" ã§çµãããã¡ã€ã«ã®ã¿ã«ãããããŸãã + + ãµããŒããããŠãã glob ææ³ã®æ¡åŒµã¯ãã¹ã®åé¢èšå·ãè¶ããŠå
šãŠ + ã®æååã«ããããã "**" ãšã"a ãŸã㯠b" ãæå³ãã "{a,b}" + ã§ãã + + Perl/Python ã®æ£èŠè¡šçŸã䜿ãã«ã¯ãååã "re:" ã§å§ããŠãã ã + ããæ£èŠè¡šçŸã«ãããããã¯ãªããžããªã®ã«ãŒãã®åºå®ãããŠããŸãã + + åçŽãªäŸ: + + path:foo/bar ãªããžããªã®ã«ãŒãã«ãã foo ãšãããã£ã¬ã¯ã㪠+ ã® bar ãšããåå + path:path:name "path:name" ãšããååã®ãã¡ã€ã«ãŸãã¯ãã£ã¬ã¯ + ã㪠+ + Glob ã®äŸ: + + glob:*.c çŸåšã®ãã£ã¬ã¯ããªäžã® ".c" ã§çµããå
šãŠã®åå + *.c çŸåšã®ãã£ã¬ã¯ããªäžã® ".c" ã§çµããå
šãŠã®åå + **.c çŸåšã®ãã£ã¬ã¯ããªãšå
šãŠã®ãµããã£ã¬ã¯ããªäžã® + ".c" ã§çµããå
šãŠã®åå + foo/*.c ãã£ã¬ã¯ã㪠foo äžã® ".c" ã§çµããå
šãŠã®åå + foo/**.c ãã£ã¬ã¯ã㪠foo ãšãã®å
šãŠã®ãµããã£ã¬ã¯ããªäž + ã® ".c" ã§çµããå
šãŠã®åå + + æ£èŠè¡šçŸã®äŸ: + + re:.*\.c$ ãªããžããªå
šäœã®äžã® ".c" ã§çµããå
šãŠã®åå + + +åäžã®ãªããžã§ã³ã®æå®æ³ +----------- + + Mercurial ã§ã¯åã
ã®ãªããžã§ã³ãèå¥ããã®ã«è€æ°ã®èšæ³ã䜿ã㟠+ ãã + + åçŽãªæŽæ°ã¯ãªããžã§ã³ãã³ããŒãšããŠæ±ãããŸããè² ã®æŽæ°ã¯tip + ããã®ãªãã»ãããšããŠæ±ããã-1 ã tip ã衚ããŸãã + + 40 æ¡ã® 16 鲿°ã®æååã¯ãŠããŒã¯ãªãªããžã§ã³èå¥åãšããŠæ±ã + ããŸãã + + 40 æ¡ããå°ãªã 16 鲿°ã®æååã¯ãŠããŒã¯ãªãªããžã§ã³èå¥åãš + ããŠæ±ãããçã圢åŒã®èå¥åãšåŒã°ããŸããçã圢åŒã®èå¥åã¯ã + ããå®å
šãªé·ãã®èå¥åã®æ¥é èªã§ãããšãã ãæå¹ã§ãã + + ä»ã®æååã¯å
šãŠã¿ã°åãšããŠæ±ãããŸããã¿ã°ã¯ãããªããžã§ã³è + å¥åã«é¢é£ä»ããããã·ã³ãã«åã§ããã¿ã°å㯠":" æåãå«ãã§ + ã¯ãããŸããã + + ãªããžã§ã³å "tip" ã¯ç¹å¥ãªã¿ã°ã§ãåžžã«äžçªææ°ã®ãªããžã§ã³ã + æããŸãã + +è€æ°ã®ãªããžã§ã³ã®æå®æ³ +----------- + + Mercurial ã 1ã€ããå€ãã®ãªããžã§ã³ãåãããããšããããã㯠+ å¥ã
ã«æå®ãããããé£ç¶ããç¯å²ãšã㊠":" æåã§åºåã£ãŠäžã + ãããããããŸããã + + ç¯å²è¡šèšã®æ§æã¯ [BEGIN]:[END] ã§ BEGIN ãš END ã¯ãªããžã§ã³ã® + èå¥åã§ããBEGIN ã END ãäž¡æ¹ãšãä»»æã§ãããã BEGIN ãæå® + ãããªããã°ãããã©ã«ãã§ãªããžã§ã³ãã³ã㌠0 ã«ãªããŸããã + ã END ãæå®ãããªããã°ãããã©ã«ãã§ tip ã«ãªããŸããåŸã£ãŠ + ç¯å² ":" 㯠"å
šãŠã®ãªããžã§ã³" ãæå³ããŸãã + + ãã BEGIN ã END ãã倧ãããã°ããªããžã§ã³ã¯éã®é åºãšããŠæ± + ãããŸãã + + ç¯å²ã¯éåºéãšããŠåäœããŸããããã¯ç¯å²ã 3:5 㯠3,4,5 ã«ãªã + ããšãæå³ããŸããåæ§ã«ãç¯å² 4:2 㯠4,3,2 ã«ãªããŸãã + +ç°å¢å€æ° +---- + +HGEDITOR:: + ããã¯ã³ãããæã«äœ¿ããããšãã£ã¿ã®ååã§ããããã©ã«ãã§ã¯ + EDITOR ã®å€ã䜿ãããŸãã + + (廿¢äºå®ã§ã, .hgrc ã䜿ã£ãŠãã ãã) + +HGMERGE:: + merge æã®è¡çªã解決ããã®ã«äœ¿ãããå®è¡ãã¡ã€ã«ã§ããããã°ã© + ã ã¯3 ã€ã®åŒæ°ã§å®è¡ãããŸã: ããŒã«ã«ã®ãã¡ã€ã«ããªã¢ãŒãã®ãã¡ + ã€ã«ã1 äžä»£åã®ãã¡ã€ã«ã§ãã + + ããã©ã«ãã®ããã°ã©ã 㯠"hgmerge" ã§ããã㯠Mercurial ã«ã㣠+ ãŠæäŸãããåžžèçãªèšå®ã®ã·ã§ã«ã¹ã¯ãªããã§ãã + + (廿¢äºå®ã§ã, .hgrc ã䜿ã£ãŠãã ãã) + +HGUSER:: + ããã¯ã³ãããæã®èè
ãšããŠäœ¿ãããæååã§ãã + + (廿¢äºå®ã§ã, .hgrc ã䜿ã£ãŠãã ãã) + +EMAIL:: + ãã HGUSER ãèšå®ãããŠããªããã°ããããã³ãããæã®èè
ãšã + ãŠäœ¿ãããŸãã + +LOGNAME:: + ãã HGUSER ã EMAIL ãèšå®ãããŠããªããã°ãã³ãããæã®èè
+ ãšããŠLOGNAME ã('@hostname' ãä»ãã圢ã§)䜿ãããŸãã + +EDITOR:: + ãã㯠hgmerge ã¹ã¯ãªããäžã§äœ¿ããããšãã£ã¿ã®ååã§ãããã + HGEDITOR ãèšå®ãããŠããªããã°ãã³ãããæã®ã¡ãã»ãŒãžã«äœ¿ã + ããŸããããã©ã«ã㯠'vi' ã§ãã + +PYTHONPATH:: + ããã¯ã€ã³ããŒããããã¢ãžã¥ãŒã«ãèŠã€ããããã« Python ã«ã㣠+ ãŠäœ¿ãããMercurial ãã·ã¹ãã å
šäœã«ã€ã³ã¹ããŒã«ãããŠããªãã + ã°ãé©åã«èšå®ãããå¿
èŠãããã§ãããã + +ãã¡ã€ã« +---- + .hgignore:: + ãã®ãã¡ã€ã«ã¯(1è¡ããšã«) hg ã«ãã£ãŠç¡èŠãããã¹ããã¡ã€ã«ã + èšè¿°ããæ£èŠè¡šçŸãå«ã¿ãŸãã + + .hgtags:: + ãã®ãã¡ã€ã«ã¯ãªããžããªã®å
容ã®ã¿ã°ä»ããããããŒãžã§ã³ã«äžèŽ + ããããã·ã¥å€ãšããã¹ãã®ã¿ã°å(ããããã¯ç©ºçœã§åºåãããŸã)ã + å«ã¿ãŸãã + + /etc/mercurial/hgrc, $HOME/.hgrc, .hg/hgrc:: + ãã®ãã¡ã€ã«ã¯ããã©ã«ãã®èšå®ãå«ã¿ãŸãã.hg/hgrc ã®å€ã¯ + $HOME/.hgrc ã®èšå®ãäžæžããã$HOME/.hgrc ã®èšå®ã¯ã°ããŒãã«ãª + /etc/mercurial/hgrc ã®èšå®ãäžæžãããŸãããããã®ãã¡ã€ã«ã®å
+ å®¹ãšæžåŒã®è©³çްã«ã€ããŠã¯ hgrc(5) ãåç
§ããŠãã ããã + +ãã° +-- +沢山ããã§ãããããããããã°ãèŠã€ããããããã¡ãŒãªã³ã°ãªã¹ã +(äžã®æ
å ±æºãåç
§)ã«éã£ãŠãã ããã + +é¢é£é
ç® +---- +hgrc(5) + +èè
+-- +Matt Mackall <mpm@selenic.com> ã«ããæžãããŸããã + +æ
å ±æº +--- +http://mercurial.selenic.com/[äž»ãªãŠã§ããµã€ã] + +http://www.serpentine.com/mercurial[Wiki ãµã€ã] + +http://selenic.com/hg[ãœãŒã¹ã³ãŒãã®ãªããžããª] + +http://selenic.com/mailman/listinfo/mercurial[ã¡ãŒãªã³ã°ãªã¹ã] + +èäœæš©æ
å ± +----- +Copyright (C) 2005-2007 Matt Mackall. +ãã®ãœãããŠã§ã¢ã®èªç±ãªäœ¿çšã¯ GNU äžè¬å
¬æäœ¿çšèš±è«Ÿ (GPL) ã®ããšã§ +èªããããŸãã diff --git a/sys/src/cmd/hg/doc/ja/hgrc.5.ja.txt b/sys/src/cmd/hg/doc/ja/hgrc.5.ja.txt new file mode 100644 index 000000000..d775080c6 --- /dev/null +++ b/sys/src/cmd/hg/doc/ja/hgrc.5.ja.txt @@ -0,0 +1,204 @@ +HGRC(5) +======= +Bryan O'Sullivan <bos@serpentine.com> + +åå +-- +hgrc - Mercurial ã®èšå®ãã¡ã€ã« + +æžåŒ +-- + +Mercurial ã·ã¹ãã ã¯ãã®æ¯èãã®æ£åžžãå¶åŸ¡ããã®ã«ãäžé£ã®èšå®ãã¡ +ã€ã«ã䜿çšããŸãã + +ãã¡ã€ã« +---- + +Mercurial 㯠3ã€ã®ãã¡ã€ã«ããèšå®ãèªã¿ãŸã: + +/etc/mercurial/hgrc:: + ãã®ã°ããŒãã«ã®èšå®ãã¡ã€ã«ã®ãªãã·ã§ã³ã¯å®è¡ãããŠãŒã¶ãã㣠+ ã¬ã¯ããªãåããå
šãŠã® Mercurial ã³ãã³ãã«é©çšãããŸãã + +$HOME/.hgrc:: + ãŠãŒã¶æ¯ã®èšå®ãªãã·ã§ã³ã§ããã£ã¬ã¯ããªãåããå
šãŠã® + Mercurial ã³ãã³ãã«é©çšãããŸãããã®ãã¡ã€ã«ã®å€ã¯ã°ããŒãã« + ã®èšå®ãäžæžãããŸãã + +<repo>/.hg/hgrc:: + ãªããžããªæ¯ã®èšå®ãªãã·ã§ã³ã§ããã®ãªããžããªã®ã¿ã«é©çšãã㟠+ ãããã®ãã¡ã€ã«ã¯ããŒãžã§ã³ç®¡çãããã "clone" æäœã§è»¢éã + ããããšããããŸããããã®ãã¡ã€ã«ã®å€ã¯ã°ããŒãã«ã®èšå®ãšãŠãŒ + ã¶æ¯ã®èšå®ãäžæžãããŸãã + +æ§æ +-- + +èšå®ãã¡ã€ã«ã¯ "[ã»ã¯ã·ã§ã³]" ãããããå§ãŸãã»ã¯ã·ã§ã³ãšãããã« +ç¶ã"åå: å€"ã®ãšã³ããªããæããŸã: "åå=å€"ãèªããããŸãã + + [spam] + eggs=ham + green= + eggs + +åè¡ã¯1ã€ã®ãšã³ããªãå«ã¿ãŸããããæ¬¡ã®è¡ãã€ã³ãã³ããããŠããå Ž +åãããã¯åã®è¡ã®ç¶ããšããŠæ±ãããŸãã + +å
è¡ãã空çœã¯å€ããåãé€ãããŸãã空è¡ã¯èªã¿é£ã°ãããŸãã + +ãªãã·ã§ã³ã®å€ã¯åãã»ã¯ã·ã§ã³ããç¹å¥ãª DEFAULT ã»ã¯ã·ã§ã³ã®å¥ã® +å€ãåç
§ãããã©ãŒãããæååãå«ãããšãã§ããŸãã + +"#" ã ";" ã§å§ãŸãè¡ã¯ç¡èŠãããã®ã§ãã³ã¡ã³ããšããŠäœ¿ãããšãã§ +ããŸãã + +ã»ã¯ã·ã§ã³ +----- + +ãã®ã»ã¯ã·ã§ã³ã¯ Merucurial ã® "hgrc" ã«äœ¿ãããšãã§ããç°ãªã£ãã» +ã¯ã·ã§ã³ã®ããããã®ç®çãå¯èœãªããŒããããŠåãåŸãå€ã«ã€ããŠèšè¿° +ããŸãã + +decode/encode:: + checkout/checkin ã§ãã¡ã€ã«ã転éãããšãã®ãã£ã«ã¿ãŒã§ãããã + ã¯å
žåçã«ã¯æ¹è¡ãåŠçããããä»ã®å°åå/æšæºåã«äœ¿ãããã§ãã + ãã + + ãã£ã«ã¿ãŒã¯ãã£ã«ã¿ãŒãã¿ãŒã³ãšããã«ç¶ããã£ã«ã¿ãŒã³ãã³ããã + ãªããŸããã³ãã³ãã¯æšæºå
¥åããã®ããŒã¿ãåãä»ãã倿ããã㌠+ ã¿ãæšæºåºåã«è¿ãå¿
èŠããããŸãã + + äŸ: + + [encode] + # delta å§çž®ãæ¹åããããã«ãã§ãã¯ã€ã³æã« gzip ãã¡ã€ã«ã + # 䌞é·ããŸã + # 泚æ: å¿
ãããè¯ãã¢ã€ãã£ã¢ã§ã¯ãããŸããããã ã®äŸã§ã + *.gz = gunzip + + [decode] + # äœæ¥ãã£ã¬ã¯ããªã«æžãåºããšãã«ãã¡ã€ã«ã gzip ã§åå§çž®ããŸã + *.gz = gzip + +hooks:: + ã³ãããã®éå§ãçµäºæãªã©æ§ã
ãªã¢ã¯ã·ã§ã³ã§èªåçã«å®è¡ãããã³ + ãã³ãã§ãã + changegroup;; + push ã pull ã§ãã§ã³ãžã°ã«ãŒããå ããããããšã«èµ·åããŸãã + commit;; + ãã§ã³ãžã»ãããäœæãããåŸã«èµ·åããŸããæ°ããäœæããããã§ + ã³ãžã»ããã® ID ãæž¡ãããŸãã + precommit;; + ã³ãããåã«èµ·åããŸããçµäºã¹ããŒã¿ã¹ 0 ã«ããã³ããããç¶è¡ + ããŸããéãŒãã®ã¹ããŒã¿ã¹ã§ã³ãããã¯å€±æããŸãã + +http_proxy:: + HTTP ãããã·ãéããŠãŠã§ãã䜿ã£ã Mercurial ã®ãªããžããªã«ã¢ã¯ + ã»ã¹ããã®ã«äœ¿ãããŸãã + host;; + ãããã·ãµãŒãã®ãã¹ãåãš(ãªãã·ã§ã³ã®)ããŒãã§ãäŸãã° + "myproxy:8000"ãªã©ã§ãã + no;; + ãªãã·ã§ã³ã§ããã³ã³ãã§åºåããããããã·ãééãã¹ããã¹ãå + ã®ãªã¹ãã§ãã + passwd;; + ãªãã·ã§ã³ã§ãããããã·ãµãŒãã®èªèšŒçšã®ãã¹ã¯ãŒãã§ãã + user;; + ãªãã·ã§ã³ã§ãããããã·ãµãŒãã®èªèšŒçšã®ãŠãŒã¶åã§ãã + +paths:: + ãªããžããªã«ã·ã³ãã«åãå²åœãŠãŸããå·ŠåŽãã·ã³ãã«åã§ãå³åŽã㪠+ ããžããªã®å Žæã瀺ããã£ã¬ã¯ããªã URL ã§ãã + +ui:: + ãŠãŒã¶ã€ã³ã¿ãŒãã§ãŒã¹ã®èšå®ã§ãã + debug;; + ãããã°æ
å ±ã衚瀺ããŸããTrue ã False ãåããŸããããã©ã«ã + ã§ã¯ False ã§ãã + editor;; + ã³ãããäžã«äœ¿çšãããšãã£ã¿ã§ããããã©ã«ã㯠$EDITOR ã + "vi" ã§ãã + interactive;; + ãŠãŒã¶ã«å¯ŸããŠããã³ãããåºãããã«ããŸããTrue ã False ãå + ããŸããããã©ã«ãã§ã¯ True ã§ãã + merge;; + æåã§ã® merge äžã«è¡çªã解決ããããã«äœ¿ãããããã°ã©ã ã§ãã + ããã©ã«ã㯠"hgmerge" ã§ãã + quiet;; + 衚瀺ãããåºåã®éãæžãããŸããTrue ã False ãåããŸããããã© + ã«ã㯠False ã§ãã + remotecmd;; + clone/push/pull æäœã§äœ¿ããããªã¢ãŒãã®ã³ãã³ãã§ããããã©ã« + ã㯠'hg' ã§ãã + ssh;; + SSH æ¥ç¶ã§äœ¿ãããã³ãã³ãã§ããããã©ã«ã㯠'ssh' ã§ãã + username;; + ã³ããããå®è¡ãããšãã«äœæããããã§ã³ãžã»ããã®ã³ããã¿ã§ãã + äžè¬çã«ã¯äººåãšé»åã¡ãŒã«ã¢ãã¬ã¹ã§ãäŸãã° "Fred Widget + <fred@example.com>" ãªã©ã§ããããã©ã«ã㯠$EMAIL ã + username@hostname ã§ãã + verbose;; + 衚瀺ãããåºåã®éãå¢ãããŸããTrue ã False ãåããŸããããã© + ã«ã㯠False ã§ãã + +web:: + ãŠã§ãã€ã³ã¿ãŒãã§ã€ã¹ã®èšå®ã§ãã + accesslog;; + ã¢ã¯ã»ã¹ãã°ã®åºåå
ã§ããããã©ã«ãã§ã¯æšæºåºåã§ãã + address;; + ãã€ã³ãããã€ã³ã¿ãŒãã§ã€ã¹ã¢ãã¬ã¹ã§ããããã©ã«ãã§ã¯å
šãŠã§ + ãã + allowbz2;; + ãªããžããªã®ãªããžã§ã³ãã .tar.bz2 ãããŠã³ããŒãããããã©ã + ãã§ããããã©ã«ãã§ã¯ false ã§ãã + allowgz;; + ãªããžããªã®ãªããžã§ã³ãã .tar.gz ãããŠã³ããŒãããããã©ã + ãã§ããããã©ã«ãã§ã¯ false ã§ãã + allowpull;; + ãªããžããªãã pull ããããã©ããã§ããããã©ã«ãã§ã¯ true ã§ + ãã + allowzip;; + ãªããžããªã®ãªããžã§ã³ãã .zip ãããŠã³ããŒãããããã©ããã§ + ããããã©ã«ãã§ã¯ false ã§ãããã®æ©èœã¯äžæãã¡ã€ã«ãäœæã + ãŸãã + description;; + ãªããžããªã®ç®çãå
容ã«ã€ããŠã®ããã¹ãã«ãã説æã§ããããã© + ã«ãã§ã¯"unknown" ã§ãã + errorlog;; + ãšã©ãŒãã°ã®åºåå
ã§ããããã©ã«ãã§ã¯æšæºãšã©ãŒåºåã§ãã + ipv6;; + IPv6 ã䜿ããã©ããã§ããããã©ã«ãã§ã¯ false ã§ãã + name;; + ãŠã§ãã€ã³ã¿ãŒãã§ã€ã¹ã䜿ããšãã®ãªããžããªã®ååã§ããããã© + ã«ãã¯çŸåšã®äœæ¥ãã£ã¬ã¯ããªã§ãã + maxchanges;; + ãã§ã³ãžãã°ã«èšèŒãã倿Žã®æå€§æ°ã§ããããã©ã«ãã§ã¯ 10 ã§ãã + maxfiles;; + ãã§ã³ãžã»ããã«èšèŒãããã¡ã€ã«ã®æå€§æ°ã§ããããã©ã«ãã§ã¯ + 10 ã§ãã + port;; + ãªã¹ã³ããããŒãã§ããããã©ã«ã 㯠8000 ã§ãã + style;; + 䜿çšãããã³ãã¬ãŒããããã®ã¹ã¿ã€ã«ã§ãã + templates;; + HTML ãã³ãã¬ãŒãã®åšåŠã§ããããã©ã«ãã§ã¯ã€ã³ã¹ããŒã«ãããš + ãã®ãã¹ã§ãã + +èè
+-- +Bryan O'Sullivan <bos@serpentine.com>. + +Mercurial 㯠Matt Mackall <mpm@selenic.com> ã«ããæžãããŸããã + +é¢é£é
ç® +---- +hg(1) + +COPYING +------- +ãã®ããã¥ã¢ã«ã®èäœæš©ã¯ 2005 Bryan O'Sullivan ã§ãã +Mercurial ã®èäœæš©ã¯ 2005 Matt Mackall ã§ãã +ãã®ãœãããŠã§ã¢ã®èªç±ãªäœ¿çšã¯ GNU äžè¬å
¬æäœ¿çšèš±è«Ÿ (GPL) ã®ããšã§ +èªããããŸãã |