doc/hg.1.txt
branchstable
changeset 17267 979b107eaea2
parent 16548 e49e039acd5e
child 18960 170fc0949fb6
equal deleted inserted replaced
17266:4e35dea77e31 17267:979b107eaea2
    16    :class: htmlonly
    16    :class: htmlonly
    17    :depth: 1
    17    :depth: 1
    18 
    18 
    19 
    19 
    20 Synopsis
    20 Synopsis
    21 --------
    21 """"""""
    22 **hg** *command* [*option*]... [*argument*]...
    22 **hg** *command* [*option*]... [*argument*]...
    23 
    23 
    24 Description
    24 Description
    25 -----------
    25 """""""""""
    26 The **hg** command provides a command line interface to the Mercurial
    26 The **hg** command provides a command line interface to the Mercurial
    27 system.
    27 system.
    28 
    28 
    29 Command Elements
    29 Command Elements
    30 ----------------
    30 """"""""""""""""
    31 
    31 
    32 files...
    32 files...
    33     indicates one or more filename or relative path filenames; see
    33     indicates one or more filename or relative path filenames; see
    34     `File Name Patterns`_ for information on pattern matching
    34     `File Name Patterns`_ for information on pattern matching
    35 
    35 
    46     repository.
    46     repository.
    47 
    47 
    48 .. include:: hg.1.gendoc.txt
    48 .. include:: hg.1.gendoc.txt
    49 
    49 
    50 Files
    50 Files
    51 -----
    51 """""
    52 
    52 
    53 ``/etc/mercurial/hgrc``, ``$HOME/.hgrc``, ``.hg/hgrc``
    53 ``/etc/mercurial/hgrc``, ``$HOME/.hgrc``, ``.hg/hgrc``
    54     This file contains defaults and configuration. Values in
    54     This file contains defaults and configuration. Values in
    55     ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override
    55     ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override
    56     settings made in the global ``/etc/mercurial/hgrc`` configuration.
    56     settings made in the global ``/etc/mercurial/hgrc`` configuration.
    88 Some commands (e.g. revert) produce backup files ending in ``.orig``,
    88 Some commands (e.g. revert) produce backup files ending in ``.orig``,
    89 if the ``.orig`` file already exists and is not tracked by Mercurial,
    89 if the ``.orig`` file already exists and is not tracked by Mercurial,
    90 it will be overwritten.
    90 it will be overwritten.
    91 
    91 
    92 Bugs
    92 Bugs
    93 ----
    93 """"
    94 Probably lots, please post them to the mailing list (see Resources_
    94 Probably lots, please post them to the mailing list (see Resources_
    95 below) when you find them.
    95 below) when you find them.
    96 
    96 
    97 See Also
    97 See Also
    98 --------
    98 """"""""
    99 |hgignore(5)|_, |hgrc(5)|_
    99 |hgignore(5)|_, |hgrc(5)|_
   100 
   100 
   101 Author
   101 Author
   102 ------
   102 """"""
   103 Written by Matt Mackall <mpm@selenic.com>
   103 Written by Matt Mackall <mpm@selenic.com>
   104 
   104 
   105 Resources
   105 Resources
   106 ---------
   106 """""""""
   107 Main Web Site: http://mercurial.selenic.com/
   107 Main Web Site: http://mercurial.selenic.com/
   108 
   108 
   109 Source code repository: http://selenic.com/hg
   109 Source code repository: http://selenic.com/hg
   110 
   110 
   111 Mailing list: http://selenic.com/mailman/listinfo/mercurial
   111 Mailing list: http://selenic.com/mailman/listinfo/mercurial
   112 
   112 
   113 Copying
   113 Copying
   114 -------
   114 """""""
   115 Copyright (C) 2005-2012 Matt Mackall.
   115 Copyright (C) 2005-2012 Matt Mackall.
   116 Free use of this software is granted under the terms of the GNU General
   116 Free use of this software is granted under the terms of the GNU General
   117 Public License version 2 or any later version.
   117 Public License version 2 or any later version.
   118 
   118 
   119 .. include:: common.txt
   119 .. include:: common.txt