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