Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-help.out @ 2002:4aab906517c6
Calling revlog.addgroup with an empty changegroup now raises RevlogError.
The empty changegroup can be caused by remote servers dying soon after
findincoming, and further code in pull assumes (correctly) that there are
new changesets.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 24 Mar 2006 19:51:05 +0100 |
parents | 9bbc7b304c34 |
children | ced2d3620f95 |
rev | line source |
---|---|
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
1 Mercurial Distributed SCM |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
2 |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
3 basic commands (use "hg help" for the full list or option "-v" for details): |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
4 |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
5 add add the specified files on the next commit |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
6 annotate show changeset information per file line |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
7 clone make a copy of an existing repository |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
8 commit commit the specified files or all outstanding changes |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
9 diff diff repository (or selected files) |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
10 export dump the header and diffs for one or more changesets |
908 | 11 init create a new repository in the given directory |
1034
8dbbea5bc844
Fix help output, and a few broken tests.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1017
diff
changeset
|
12 log show revision history of entire repository or files |
1475
d791c335fb7b
Elevate parents to a "common" command in help
Matt Mackall <mpm@selenic.com>
parents:
1437
diff
changeset
|
13 parents show the parents of the working dir or revision |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
14 pull pull changes from the specified source |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
15 push push changes to the specified destination |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
16 remove remove the specified files on the next commit |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
17 revert revert modified files or dirs back to their unmodified states |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
18 serve export the repository via HTTP |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
19 status show changed files in the working directory |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
20 update update or merge working directory |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
21 add add the specified files on the next commit |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
22 annotate show changeset information per file line |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
23 clone make a copy of an existing repository |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
24 commit commit the specified files or all outstanding changes |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
25 diff diff repository (or selected files) |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
26 export dump the header and diffs for one or more changesets |
908 | 27 init create a new repository in the given directory |
1034
8dbbea5bc844
Fix help output, and a few broken tests.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1017
diff
changeset
|
28 log show revision history of entire repository or files |
1475
d791c335fb7b
Elevate parents to a "common" command in help
Matt Mackall <mpm@selenic.com>
parents:
1437
diff
changeset
|
29 parents show the parents of the working dir or revision |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
30 pull pull changes from the specified source |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
31 push push changes to the specified destination |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
32 remove remove the specified files on the next commit |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
33 revert revert modified files or dirs back to their unmodified states |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
34 serve export the repository via HTTP |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
35 status show changed files in the working directory |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
36 update update or merge working directory |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
37 Mercurial Distributed SCM |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
38 |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
39 list of commands (use "hg help -v" to show aliases and global options): |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
40 |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
41 add add the specified files on the next commit |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
42 addremove add all new files, delete all missing files |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
43 annotate show changeset information per file line |
1223 | 44 bundle create a changegroup file |
1254
e6560042b7b8
Switch cat command to use walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1253
diff
changeset
|
45 cat output the latest or given revisions of files |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
46 clone make a copy of an existing repository |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
47 commit commit the specified files or all outstanding changes |
1249
a5355fa5e33a
Fix up copy command to behave more like regular "cp".
Bryan O'Sullivan <bos@serpentine.com>
parents:
1223
diff
changeset
|
48 copy mark files as copied for the next commit |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
49 diff diff repository (or selected files) |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
50 export dump the header and diffs for one or more changesets |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
51 forget don't add the specified files on the next commit |
1060 | 52 grep search for a pattern in specified files and revisions |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
53 heads show current repository heads |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
54 help show help for a given command or all commands |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
55 identify print information about the working copy |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
56 import import an ordered set of patches |
930 | 57 incoming show new changesets found in source |
908 | 58 init create a new repository in the given directory |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
59 locate locate files matching specific patterns |
1034
8dbbea5bc844
Fix help output, and a few broken tests.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1017
diff
changeset
|
60 log show revision history of entire repository or files |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
61 manifest output the latest or given revision of the project manifest |
925 | 62 outgoing show changesets not found in destination |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
63 parents show the parents of the working dir or revision |
925 | 64 paths show definition of symbolic path names |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
65 pull pull changes from the specified source |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
66 push push changes to the specified destination |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
67 recover roll back an interrupted transaction |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
68 remove remove the specified files on the next commit |
1253
a45e717c61a8
Add rename/mv command.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1249
diff
changeset
|
69 rename rename files; equivalent of copy + remove |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
70 revert revert modified files or dirs back to their unmodified states |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
71 root print the root (top) of the current working dir |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
72 serve export the repository via HTTP |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
73 status show changed files in the working directory |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
74 tag add a tag for the current tip or a given revision |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
75 tags list repository tags |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
76 tip show the tip revision |
1223 | 77 unbundle apply a changegroup file |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
78 undo undo the last commit or pull |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
79 update update or merge working directory |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
80 verify verify the integrity of the repository |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
81 version output version and copyright information |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
82 add add the specified files on the next commit |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
83 addremove add all new files, delete all missing files |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
84 annotate show changeset information per file line |
1223 | 85 bundle create a changegroup file |
1254
e6560042b7b8
Switch cat command to use walk code.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1253
diff
changeset
|
86 cat output the latest or given revisions of files |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
87 clone make a copy of an existing repository |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
88 commit commit the specified files or all outstanding changes |
1249
a5355fa5e33a
Fix up copy command to behave more like regular "cp".
Bryan O'Sullivan <bos@serpentine.com>
parents:
1223
diff
changeset
|
89 copy mark files as copied for the next commit |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
90 diff diff repository (or selected files) |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
91 export dump the header and diffs for one or more changesets |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
92 forget don't add the specified files on the next commit |
1060 | 93 grep search for a pattern in specified files and revisions |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
94 heads show current repository heads |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
95 help show help for a given command or all commands |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
96 identify print information about the working copy |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
97 import import an ordered set of patches |
930 | 98 incoming show new changesets found in source |
908 | 99 init create a new repository in the given directory |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
100 locate locate files matching specific patterns |
1034
8dbbea5bc844
Fix help output, and a few broken tests.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1017
diff
changeset
|
101 log show revision history of entire repository or files |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
102 manifest output the latest or given revision of the project manifest |
925 | 103 outgoing show changesets not found in destination |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
104 parents show the parents of the working dir or revision |
925 | 105 paths show definition of symbolic path names |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
106 pull pull changes from the specified source |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
107 push push changes to the specified destination |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
108 recover roll back an interrupted transaction |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
109 remove remove the specified files on the next commit |
1253
a45e717c61a8
Add rename/mv command.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1249
diff
changeset
|
110 rename rename files; equivalent of copy + remove |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
111 revert revert modified files or dirs back to their unmodified states |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
112 root print the root (top) of the current working dir |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
113 serve export the repository via HTTP |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
114 status show changed files in the working directory |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
115 tag add a tag for the current tip or a given revision |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
116 tags list repository tags |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
117 tip show the tip revision |
1223 | 118 unbundle apply a changegroup file |
847
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
119 undo undo the last commit or pull |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
120 update update or merge working directory |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
121 verify verify the integrity of the repository |
f1555f48f884
Update the TODO file to the help changes, and the output of test-help.
kreijack@inwind.REMOVEME.it
parents:
814
diff
changeset
|
122 version output version and copyright information |
914 | 123 hg add [OPTION]... [FILE]... |
736
1e84f1014f33
Update tests to reflect walk changes.
Bryan O'Sullivan <bos@serpentine.com>
parents:
725
diff
changeset
|
124 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
125 add the specified files on the next commit |
331 | 126 |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
127 Schedule files to be version controlled and added to the repository. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
128 |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
129 The files will be added to the repository at the next commit. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
130 |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
131 If no names are given, add all files in the repository. |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
132 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
133 options: |
736
1e84f1014f33
Update tests to reflect walk changes.
Bryan O'Sullivan <bos@serpentine.com>
parents:
725
diff
changeset
|
134 |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
135 -I --include include names matching the given patterns |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
136 -X --exclude exclude names matching the given patterns |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
137 hg add: option --skjdfks not recognized |
914 | 138 hg add [OPTION]... [FILE]... |
596 | 139 |
140 add the specified files on the next commit | |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
141 |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
142 Schedule files to be version controlled and added to the repository. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
143 |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
144 The files will be added to the repository at the next commit. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
145 |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
146 If no names are given, add all files in the repository. |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
147 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
148 options: |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
149 |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
150 -I --include include names matching the given patterns |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
151 -X --exclude exclude names matching the given patterns |
1055 | 152 hg diff [-a] [-I] [-X] [-r REV1 [-r REV2]] [FILE]... |
331 | 153 |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
154 diff repository (or selected files) |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
155 |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
156 Show differences between revisions for the specified files. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
157 |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
158 Differences between files are shown using the unified diff format. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
159 |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
160 When two revision arguments are given, then changes are shown |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
161 between those revisions. If only one revision is specified then |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
162 that revision is compared to the working directory, and, when no |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
163 revisions are specified, the working directory files are compared |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
164 to its parent. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
165 |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
166 Without the -a option, diff will avoid generating diffs of files |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
167 it detects as binary. With -a, diff will generate a diff anyway, |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
168 probably with undesirable results. |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
169 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
170 options: |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
171 |
1733
6d288d8c3ca6
fix test-help diff options.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1657
diff
changeset
|
172 -r --rev revision |
6d288d8c3ca6
fix test-help diff options.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1657
diff
changeset
|
173 -a --text treat all files as text |
6d288d8c3ca6
fix test-help diff options.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1657
diff
changeset
|
174 -p --show-function show which function each change is in |
6d288d8c3ca6
fix test-help diff options.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1657
diff
changeset
|
175 -w --ignore-all-space ignore white space when comparing lines |
1816
08f4398bdb1a
Updated help synopsises and reordered some options. Dropped [-n] from revert.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1733
diff
changeset
|
176 -I --include include names matching the given patterns |
1733
6d288d8c3ca6
fix test-help diff options.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1657
diff
changeset
|
177 -X --exclude exclude names matching the given patterns |
914 | 178 hg status [OPTION]... [FILE]... |
331 | 179 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
180 show changed files in the working directory |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
181 |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
182 Show changed files in the repository. If names are |
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
183 given, only files that match are shown. |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
184 |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
185 The codes used to show the status of files are: |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
186 M = modified |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
187 A = added |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
188 R = removed |
1620
6c61646fee5e
Adjusted all but one test output for the new behaviour of localrepo.changes()
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1568
diff
changeset
|
189 ! = deleted, but still tracked |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
190 ? = not tracked |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
191 |
1515
3bd6d27cb81c
Fix up test-help, mark test-rename +x
Matt Mackall <mpm@selenic.com>
parents:
1475
diff
changeset
|
192 aliases: st |
3bd6d27cb81c
Fix up test-help, mark test-rename +x
Matt Mackall <mpm@selenic.com>
parents:
1475
diff
changeset
|
193 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
194 options: |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
195 |
1107
a9c45e537f77
Adjusted test-help for change to hg status.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1086
diff
changeset
|
196 -m --modified show only modified files |
a9c45e537f77
Adjusted test-help for change to hg status.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1086
diff
changeset
|
197 -a --added show only added files |
a9c45e537f77
Adjusted test-help for change to hg status.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1086
diff
changeset
|
198 -r --removed show only removed files |
1620
6c61646fee5e
Adjusted all but one test output for the new behaviour of localrepo.changes()
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1568
diff
changeset
|
199 -d --deleted show only deleted (but tracked) files |
1107
a9c45e537f77
Adjusted test-help for change to hg status.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1086
diff
changeset
|
200 -u --unknown show only unknown (not tracked) files |
a9c45e537f77
Adjusted test-help for change to hg status.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1086
diff
changeset
|
201 -n --no-status hide status prefix |
1437
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
202 -0 --print0 end filenames with NUL, for use with xargs |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
203 -I --include include names matching the given patterns |
ea51d296085f
import docstring from doc/hg.1.txt
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1254
diff
changeset
|
204 -X --exclude exclude names matching the given patterns |
914 | 205 hg status [OPTION]... [FILE]... |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
206 |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
207 show changed files in the working directory |
848
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
208 hg: unknown command 'foo' |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
209 Mercurial Distributed SCM |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
210 |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
211 basic commands (use "hg help" for the full list or option "-v" for details): |
848
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
212 |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
213 add add the specified files on the next commit |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
214 annotate show changeset information per file line |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
215 clone make a copy of an existing repository |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
216 commit commit the specified files or all outstanding changes |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
217 diff diff repository (or selected files) |
848
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
218 export dump the header and diffs for one or more changesets |
908 | 219 init create a new repository in the given directory |
1034
8dbbea5bc844
Fix help output, and a few broken tests.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1017
diff
changeset
|
220 log show revision history of entire repository or files |
1475
d791c335fb7b
Elevate parents to a "common" command in help
Matt Mackall <mpm@selenic.com>
parents:
1437
diff
changeset
|
221 parents show the parents of the working dir or revision |
848
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
222 pull pull changes from the specified source |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
223 push push changes to the specified destination |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
224 remove remove the specified files on the next commit |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
225 revert revert modified files or dirs back to their unmodified states |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
226 serve export the repository via HTTP |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
227 status show changed files in the working directory |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
228 update update or merge working directory |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
229 hg: unknown command 'skjdfks' |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
230 Mercurial Distributed SCM |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
231 |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
848
diff
changeset
|
232 basic commands (use "hg help" for the full list or option "-v" for details): |
848
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
233 |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
234 add add the specified files on the next commit |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
235 annotate show changeset information per file line |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
236 clone make a copy of an existing repository |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
237 commit commit the specified files or all outstanding changes |
1568
1d7d0c07e8f3
make all commands be repo-wide by default
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1515
diff
changeset
|
238 diff diff repository (or selected files) |
848
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
239 export dump the header and diffs for one or more changesets |
908 | 240 init create a new repository in the given directory |
1034
8dbbea5bc844
Fix help output, and a few broken tests.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1017
diff
changeset
|
241 log show revision history of entire repository or files |
1475
d791c335fb7b
Elevate parents to a "common" command in help
Matt Mackall <mpm@selenic.com>
parents:
1437
diff
changeset
|
242 parents show the parents of the working dir or revision |
848
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
243 pull pull changes from the specified source |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
244 push push changes to the specified destination |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
245 remove remove the specified files on the next commit |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
246 revert revert modified files or dirs back to their unmodified states |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
247 serve export the repository via HTTP |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
248 status show changed files in the working directory |
221628fe9b62
Always show short help when an unknown command is given.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
847
diff
changeset
|
249 update update or merge working directory |