Show More
@@ -1,100 +1,100 b'' | |||||
1 | ==== |
|
1 | ==== | |
2 | hg |
|
2 | hg | |
3 | ==== |
|
3 | ==== | |
4 |
|
4 | |||
5 | --------------------------------------- |
|
5 | --------------------------------------- | |
6 | Mercurial source code management system |
|
6 | Mercurial source code management system | |
7 | --------------------------------------- |
|
7 | --------------------------------------- | |
8 |
|
8 | |||
9 | :Author: Matt Mackall <mpm@selenic.com> |
|
9 | :Author: Matt Mackall <mpm@selenic.com> | |
10 | :Organization: Mercurial |
|
10 | :Organization: Mercurial | |
11 | :Manual section: 1 |
|
11 | :Manual section: 1 | |
12 | :Manual group: Mercurial Manual |
|
12 | :Manual group: Mercurial Manual | |
13 |
|
13 | |||
14 | .. contents:: |
|
14 | .. contents:: | |
15 | :backlinks: top |
|
15 | :backlinks: top | |
16 | :class: htmlonly |
|
16 | :class: htmlonly | |
17 |
|
17 | |||
18 |
|
18 | |||
19 | SYNOPSIS |
|
19 | SYNOPSIS | |
20 | -------- |
|
20 | -------- | |
21 | **hg** *command* [*option*]... [*argument*]... |
|
21 | **hg** *command* [*option*]... [*argument*]... | |
22 |
|
22 | |||
23 | DESCRIPTION |
|
23 | DESCRIPTION | |
24 | ----------- |
|
24 | ----------- | |
25 | The **hg** command provides a command line interface to the Mercurial |
|
25 | The **hg** command provides a command line interface to the Mercurial | |
26 | system. |
|
26 | system. | |
27 |
|
27 | |||
28 | COMMAND ELEMENTS |
|
28 | COMMAND ELEMENTS | |
29 | ---------------- |
|
29 | ---------------- | |
30 |
|
30 | |||
31 | files... |
|
31 | files... | |
32 | indicates one or more filename or relative path filenames; see |
|
32 | indicates one or more filename or relative path filenames; see | |
33 | `File Name Patterns`_ for information on pattern matching |
|
33 | `File Name Patterns`_ for information on pattern matching | |
34 |
|
34 | |||
35 | path |
|
35 | path | |
36 | indicates a path on the local machine |
|
36 | indicates a path on the local machine | |
37 |
|
37 | |||
38 | revision |
|
38 | revision | |
39 | indicates a changeset which can be specified as a changeset |
|
39 | indicates a changeset which can be specified as a changeset | |
40 | revision number, a tag, or a unique substring of the changeset |
|
40 | revision number, a tag, or a unique substring of the changeset | |
41 | hash value |
|
41 | hash value | |
42 |
|
42 | |||
43 | repository path |
|
43 | repository path | |
44 | either the pathname of a local repository or the URI of a remote |
|
44 | either the pathname of a local repository or the URI of a remote | |
45 | repository. |
|
45 | repository. | |
46 |
|
46 | |||
47 | .. include:: hg.1.gendoc.txt |
|
47 | .. include:: hg.1.gendoc.txt | |
48 |
|
48 | |||
49 | FILES |
|
49 | FILES | |
50 | ----- |
|
50 | ----- | |
51 |
|
51 | |||
52 | ``.hgignore`` |
|
52 | ``.hgignore`` | |
53 | This file contains regular expressions (one per line) that |
|
53 | This file contains regular expressions (one per line) that | |
54 | describe file names that should be ignored by **hg**. For details, |
|
54 | describe file names that should be ignored by **hg**. For details, | |
55 | see |hgignore(5)|_. |
|
55 | see |hgignore(5)|_. | |
56 |
|
56 | |||
57 | ``.hgtags`` |
|
57 | ``.hgtags`` | |
58 | This file contains changeset hash values and text tag names (one |
|
58 | This file contains changeset hash values and text tag names (one | |
59 | of each separated by spaces) that correspond to tagged versions of |
|
59 | of each separated by spaces) that correspond to tagged versions of | |
60 | the repository contents. |
|
60 | the repository contents. | |
61 |
|
61 | |||
62 | ``/etc/mercurial/hgrc``, ``$HOME/.hgrc``, ``.hg/hgrc`` |
|
62 | ``/etc/mercurial/hgrc``, ``$HOME/.hgrc``, ``.hg/hgrc`` | |
63 | This file contains defaults and configuration. Values in |
|
63 | This file contains defaults and configuration. Values in | |
64 | ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override |
|
64 | ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override | |
65 | settings made in the global ``/etc/mercurial/hgrc`` configuration. |
|
65 | settings made in the global ``/etc/mercurial/hgrc`` configuration. | |
66 | See |hgrc(5)|_ for details of the contents and format of these |
|
66 | See |hgrc(5)|_ for details of the contents and format of these | |
67 | files. |
|
67 | files. | |
68 |
|
68 | |||
69 | Some commands (e.g. revert) produce backup files ending in ``.orig``, |
|
69 | Some commands (e.g. revert) produce backup files ending in ``.orig``, | |
70 | if the ``.orig`` file already exists and is not tracked by Mercurial, |
|
70 | if the ``.orig`` file already exists and is not tracked by Mercurial, | |
71 | it will be overwritten. |
|
71 | it will be overwritten. | |
72 |
|
72 | |||
73 | BUGS |
|
73 | BUGS | |
74 | ---- |
|
74 | ---- | |
75 | Probably lots, please post them to the mailing list (see Resources_ |
|
75 | Probably lots, please post them to the mailing list (see Resources_ | |
76 | below) when you find them. |
|
76 | below) when you find them. | |
77 |
|
77 | |||
78 | SEE ALSO |
|
78 | SEE ALSO | |
79 | -------- |
|
79 | -------- | |
80 | |hgignore(5)|_, |hgrc(5)|_ |
|
80 | |hgignore(5)|_, |hgrc(5)|_ | |
81 |
|
81 | |||
82 | AUTHOR |
|
82 | AUTHOR | |
83 | ------ |
|
83 | ------ | |
84 | Written by Matt Mackall <mpm@selenic.com> |
|
84 | Written by Matt Mackall <mpm@selenic.com> | |
85 |
|
85 | |||
86 | RESOURCES |
|
86 | RESOURCES | |
87 | --------- |
|
87 | --------- | |
88 | Main Web Site: http://mercurial.selenic.com/ |
|
88 | Main Web Site: http://mercurial.selenic.com/ | |
89 |
|
89 | |||
90 | Source code repository: http://selenic.com/hg |
|
90 | Source code repository: http://selenic.com/hg | |
91 |
|
91 | |||
92 | Mailing list: http://selenic.com/mailman/listinfo/mercurial |
|
92 | Mailing list: http://selenic.com/mailman/listinfo/mercurial | |
93 |
|
93 | |||
94 | COPYING |
|
94 | COPYING | |
95 | ------- |
|
95 | ------- | |
96 |
Copyright |
|
96 | Copyright (C) 2005-2009 Matt Mackall. | |
97 | Free use of this software is granted under the terms of the GNU General |
|
97 | Free use of this software is granted under the terms of the GNU General | |
98 | Public License version 2. |
|
98 | Public License version 2. | |
99 |
|
99 | |||
100 | .. include:: common.txt |
|
100 | .. include:: common.txt |
General Comments 0
You need to be logged in to leave comments.
Login now