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