hg.1.txt
88 lines
| 2.2 KiB
| text/plain
|
TextLexer
/ doc / hg.1.txt
|
r177 | HG(1) | ||
===== | ||||
Matt Mackall <mpm@selenic.com> | ||||
|
r8772 | :man source: Mercurial | ||
:man manual: Mercurial Manual | ||||
|
r177 | |||
NAME | ||||
---- | ||||
|
r438 | hg - Mercurial source code management system | ||
|
r177 | |||
SYNOPSIS | ||||
-------- | ||||
|
r8774 | *hg* 'command' ['option']... ['argument']... | ||
|
r177 | |||
DESCRIPTION | ||||
----------- | ||||
|
r8775 | The *hg* command provides a command line interface to the Mercurial | ||
|
r8728 | system. | ||
|
r177 | |||
COMMAND ELEMENTS | ||||
---------------- | ||||
files ...:: | ||||
|
r724 | indicates one or more filename or relative path filenames; see | ||
"FILE NAME PATTERNS" for information on pattern matching | ||||
|
r177 | |||
path:: | ||||
indicates a path on the local machine | ||||
|
r478 | revision:: | ||
|
r8728 | indicates a changeset which can be specified as a changeset | ||
revision number, a tag, or a unique substring of the changeset | ||||
hash value | ||||
|
r177 | |||
repository path:: | ||||
|
r498 | either the pathname of a local repository or the URI of a remote | ||
|
r7211 | repository. | ||
|
r438 | |||
|
r1814 | include::hg.1.gendoc.txt[] | ||
|
r438 | |||
|
r177 | FILES | ||
----- | ||||
|
r8766 | `.hgignore`:: | ||
|
r8728 | This file contains regular expressions (one per line) that | ||
|
r8775 | describe file names that should be ignored by *hg*. For details, | ||
see *hgignore(5)*. | ||||
|
r177 | |||
|
r8766 | `.hgtags`:: | ||
|
r8728 | 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. | ||||
|
r177 | |||
|
r8766 | `/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 | ||||
|
r8775 | the global `/etc/mercurial/hgrc` configuration. See *hgrc(5)* for | ||
|
r8728 | details of the contents and format of these files. | ||
|
r321 | |||
|
r8766 | 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 | ||||
|
r8728 | be overwritten. | ||
|
r3021 | |||
|
r177 | BUGS | ||
---- | ||||
|
r8728 | Probably lots, please post them to the mailing list (See Resources | ||
below) when you find them. | ||||
|
r177 | |||
|
r671 | SEE ALSO | ||
-------- | ||||
|
r8775 | *hgignore(5)*, *hgrc(5)* | ||
|
r671 | |||
|
r177 | AUTHOR | ||
------ | ||||
Written by Matt Mackall <mpm@selenic.com> | ||||
RESOURCES | ||||
--------- | ||||
http://selenic.com/mercurial[Main Web Site] | ||||
http://selenic.com/hg[Source code repository] | ||||
http://selenic.com/mailman/listinfo/mercurial[Mailing list] | ||||
COPYING | ||||
------- | ||||
|
r8771 | Copyright \(C) 2005-2009 Matt Mackall. | ||
|
r177 | Free use of this software is granted under the terms of the GNU General | ||
Public License (GPL). | ||||