hg.1.txt
96 lines
| 2.3 KiB
| text/plain
|
TextLexer
/ doc / hg.1.txt
Martin Geisler
|
r9158 | ==== | ||
hg | ||||
==== | ||||
jake@edge2.net
|
r177 | |||
Martin Geisler
|
r9158 | --------------------------------------- | ||
Mercurial source code management system | ||||
--------------------------------------- | ||||
:Author: Matt Mackall <mpm@selenic.com> | ||||
:Organization: Mercurial | ||||
:Manual section: 1 | ||||
:Manual group: Mercurial Manual | ||||
jake@edge2.net
|
r177 | |||
SYNOPSIS | ||||
-------- | ||||
Martin Geisler
|
r9158 | **hg** *command* [*option*]... [*argument*]... | ||
jake@edge2.net
|
r177 | |||
DESCRIPTION | ||||
----------- | ||||
Martin Geisler
|
r9161 | The **hg** command provides a command line interface to the Mercurial | ||
Martin Geisler
|
r8728 | system. | ||
jake@edge2.net
|
r177 | |||
COMMAND ELEMENTS | ||||
---------------- | ||||
Martin Geisler
|
r9158 | 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 | |||
Martin Geisler
|
r9158 | path | ||
jake@edge2.net
|
r177 | indicates a path on the local machine | ||
Martin Geisler
|
r9158 | 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 | |||
Martin Geisler
|
r9158 | 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 | |||
Martin Geisler
|
r9158 | .. include:: hg.1.gendoc.txt | ||
mpm@selenic.com
|
r438 | |||
jake@edge2.net
|
r177 | FILES | ||
----- | ||||
Martin Geisler
|
r9158 | |||
Martin Geisler
|
r9161 | ``.hgignore`` | ||
Martin Geisler
|
r8728 | This file contains regular expressions (one per line) that | ||
Martin Geisler
|
r9161 | describe file names that should be ignored by **hg**. For details, | ||
Martin Geisler
|
r9162 | see |hgignore(5)|_. | ||
jake@edge2.net
|
r177 | |||
Martin Geisler
|
r9161 | ``.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
|
r9161 | ``/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. | ||||
Martin Geisler
|
r9162 | See |hgrc(5)|_ for details of the contents and format of these | ||
Martin Geisler
|
r9161 | files. | ||
mpm@selenic.com
|
r321 | |||
Martin Geisler
|
r9161 | 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. | ||||
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
|
r9162 | |hgignore(5)|_, |hgrc(5)|_ | ||
Bryan O'Sullivan
|
r671 | |||
jake@edge2.net
|
r177 | AUTHOR | ||
------ | ||||
Written by Matt Mackall <mpm@selenic.com> | ||||
RESOURCES | ||||
--------- | ||||
Martin Geisler
|
r9158 | Main Web Site: http://mercurial.selenic.com/ | ||
jake@edge2.net
|
r177 | |||
Martin Geisler
|
r9158 | Source code repository: http://selenic.com/hg | ||
jake@edge2.net
|
r177 | |||
Martin Geisler
|
r9158 | Mailing list: http://selenic.com/mailman/listinfo/mercurial | ||
jake@edge2.net
|
r177 | |||
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). | ||||
Martin Geisler
|
r9162 | |||
.. include:: common.txt | ||||