hg.1.txt
100 lines
| 2.4 KiB
| text/plain
|
TextLexer
/ doc / hg.1.txt
|
r9158 | ==== | ||
hg | ||||
==== | ||||
|
r177 | |||
|
r9158 | --------------------------------------- | ||
Mercurial source code management system | ||||
--------------------------------------- | ||||
:Author: Matt Mackall <mpm@selenic.com> | ||||
:Organization: Mercurial | ||||
:Manual section: 1 | ||||
:Manual group: Mercurial Manual | ||||
|
r9422 | .. contents:: | ||
:backlinks: top | ||||
:class: htmlonly | ||||
|
r177 | |||
SYNOPSIS | ||||
-------- | ||||
|
r9158 | **hg** *command* [*option*]... [*argument*]... | ||
|
r177 | |||
DESCRIPTION | ||||
----------- | ||||
|
r9161 | The **hg** command provides a command line interface to the Mercurial | ||
|
r8728 | system. | ||
|
r177 | |||
COMMAND ELEMENTS | ||||
---------------- | ||||
|
r9158 | files... | ||
|
r724 | indicates one or more filename or relative path filenames; see | ||
|
r9702 | `File Name Patterns`_ for information on pattern matching | ||
|
r177 | |||
|
r9158 | path | ||
|
r177 | indicates a path on the local machine | ||
|
r9158 | 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 | |||
|
r9158 | repository path | ||
|
r498 | either the pathname of a local repository or the URI of a remote | ||
|
r7211 | repository. | ||
|
r438 | |||
|
r9158 | .. include:: hg.1.gendoc.txt | ||
|
r438 | |||
|
r177 | FILES | ||
----- | ||||
|
r9158 | |||
|
r9161 | ``.hgignore`` | ||
|
r8728 | This file contains regular expressions (one per line) that | ||
|
r9161 | describe file names that should be ignored by **hg**. For details, | ||
|
r9162 | see |hgignore(5)|_. | ||
|
r177 | |||
|
r9161 | ``.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 | |||
|
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. | ||||
|
r9162 | See |hgrc(5)|_ for details of the contents and format of these | ||
|
r9161 | files. | ||
|
r321 | |||
|
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. | ||||
|
r3021 | |||
|
r177 | BUGS | ||
---- | ||||
|
r9702 | Probably lots, please post them to the mailing list (see Resources_ | ||
|
r8728 | below) when you find them. | ||
|
r177 | |||
|
r671 | SEE ALSO | ||
-------- | ||||
|
r9162 | |hgignore(5)|_, |hgrc(5)|_ | ||
|
r671 | |||
|
r177 | AUTHOR | ||
------ | ||||
Written by Matt Mackall <mpm@selenic.com> | ||||
RESOURCES | ||||
--------- | ||||
|
r9158 | Main Web Site: http://mercurial.selenic.com/ | ||
|
r177 | |||
|
r9158 | Source code repository: http://selenic.com/hg | ||
|
r177 | |||
|
r9158 | Mailing list: http://selenic.com/mailman/listinfo/mercurial | ||
|
r177 | |||
COPYING | ||||
------- | ||||
|
r9705 | Copyright (C) 2005-2009 Matt Mackall. | ||
|
r177 | Free use of this software is granted under the terms of the GNU General | ||
|
r9510 | Public License version 2. | ||
|
r9162 | |||
.. include:: common.txt | ||||