test-help.out
678 lines
| 27.6 KiB
| text/plain
|
TextLexer
/ tests / test-help.out
Thomas Arendsen Hein
|
r849 | Mercurial Distributed SCM | ||
Alexis S. L. Carvalho
|
r4315 | basic commands: | ||
Thomas Arendsen Hein
|
r849 | |||
add add the specified files on the next commit | ||||
timeless
|
r8779 | annotate show changeset information by line for each file | ||
Thomas Arendsen Hein
|
r849 | clone make a copy of an existing repository | ||
commit commit the specified files or all outstanding changes | ||||
Benoit Boissinot
|
r1568 | diff diff repository (or selected files) | ||
Thomas Arendsen Hein
|
r849 | export dump the header and diffs for one or more changesets | ||
Steve Losh
|
r8902 | forget forget the specified files on the next commit | ||
mpm@selenic.com
|
r908 | init create a new repository in the given directory | ||
Bryan O'Sullivan
|
r1034 | log show revision history of entire repository or files | ||
Benoit Boissinot
|
r4014 | merge merge working directory with another revision | ||
Thomas Arendsen Hein
|
r849 | pull pull changes from the specified source | ||
push push changes to the specified destination | ||||
remove remove the specified files on the next commit | ||||
Matt Mackall
|
r10889 | serve start stand-alone webserver | ||
Thomas Arendsen Hein
|
r849 | status show changed files in the working directory | ||
Matt Mackall
|
r9603 | summary summarize working directory state | ||
Matt Mackall
|
r10889 | update update working directory (or switch revisions) | ||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg help" for the full list of commands or "hg -v" for details | ||||
Thomas Arendsen Hein
|
r849 | add add the specified files on the next commit | ||
timeless
|
r8779 | annotate show changeset information by line for each file | ||
Thomas Arendsen Hein
|
r849 | clone make a copy of an existing repository | ||
commit commit the specified files or all outstanding changes | ||||
Benoit Boissinot
|
r1568 | diff diff repository (or selected files) | ||
Thomas Arendsen Hein
|
r849 | export dump the header and diffs for one or more changesets | ||
Steve Losh
|
r8902 | forget forget the specified files on the next commit | ||
mpm@selenic.com
|
r908 | init create a new repository in the given directory | ||
Bryan O'Sullivan
|
r1034 | log show revision history of entire repository or files | ||
Benoit Boissinot
|
r4014 | merge merge working directory with another revision | ||
Thomas Arendsen Hein
|
r849 | pull pull changes from the specified source | ||
push push changes to the specified destination | ||||
remove remove the specified files on the next commit | ||||
Matt Mackall
|
r10889 | serve start stand-alone webserver | ||
Thomas Arendsen Hein
|
r849 | status show changed files in the working directory | ||
Matt Mackall
|
r9603 | summary summarize working directory state | ||
Matt Mackall
|
r10889 | update update working directory (or switch revisions) | ||
Thomas Arendsen Hein
|
r849 | Mercurial Distributed SCM | ||
Alexis S. L. Carvalho
|
r4315 | list of commands: | ||
Thomas Arendsen Hein
|
r849 | |||
Thomas Arendsen Hein
|
r3268 | add add the specified files on the next commit | ||
addremove add all new files, delete all missing files | ||||
timeless
|
r8779 | annotate show changeset information by line for each file | ||
archive create an unversioned archive of a repository revision | ||||
Thomas Arendsen Hein
|
r3268 | backout reverse effect of earlier changeset | ||
Matt Mackall
|
r5775 | bisect subdivision search of changesets | ||
Matt Mackall
|
r3502 | branch set or show the current branch name | ||
branches list repository named branches | ||||
Thomas Arendsen Hein
|
r3268 | bundle create a changegroup file | ||
Thomas Arendsen Hein
|
r3914 | cat output the current or given revision of files | ||
Thomas Arendsen Hein
|
r3268 | clone make a copy of an existing repository | ||
commit commit the specified files or all outstanding changes | ||||
copy mark files as copied for the next commit | ||||
diff diff repository (or selected files) | ||||
export dump the header and diffs for one or more changesets | ||||
Steve Losh
|
r8902 | forget forget the specified files on the next commit | ||
Thomas Arendsen Hein
|
r3268 | grep search for a pattern in specified files and revisions | ||
Alexis S. L. Carvalho
|
r4655 | heads show current repository heads or show branch heads | ||
Matt Mackall
|
r7210 | help show help for a given topic or a help overview | ||
Matt Mackall
|
r4665 | identify identify the working copy or specified revision | ||
Thomas Arendsen Hein
|
r3268 | import import an ordered set of patches | ||
incoming show new changesets found in source | ||||
init create a new repository in the given directory | ||||
locate locate files matching specific patterns | ||||
log show revision history of entire repository or files | ||||
Thomas Arendsen Hein
|
r3914 | manifest output the current or given revision of the project manifest | ||
Benoit Boissinot
|
r4014 | merge merge working directory with another revision | ||
timeless
|
r10376 | outgoing show changesets not found in the destination | ||
Martin Geisler
|
r8026 | parents show the parents of the working directory or revision | ||
Matt Mackall
|
r7707 | paths show aliases for remote repositories | ||
Thomas Arendsen Hein
|
r3268 | pull pull changes from the specified source | ||
push push changes to the specified destination | ||||
recover roll back an interrupted transaction | ||||
remove remove the specified files on the next commit | ||||
rename rename files; equivalent of copy + remove | ||||
Martin Geisler
|
r11840 | resolve redo merges or set/view the merge status of files | ||
Martin Geisler
|
r8026 | revert restore individual files or directories to an earlier state | ||
Matt Mackall
|
r10889 | rollback roll back the last transaction (dangerous) | ||
Martin Geisler
|
r8026 | root print the root (top) of the current working directory | ||
Matt Mackall
|
r10889 | serve start stand-alone webserver | ||
Thomas Arendsen Hein
|
r3268 | showconfig show combined config settings from all hgrc files | ||
status show changed files in the working directory | ||||
Matt Mackall
|
r9603 | summary summarize working directory state | ||
John Coomes
|
r6321 | tag add one or more tags for the current or given revision | ||
Thomas Arendsen Hein
|
r3268 | tags list repository tags | ||
tip show the tip revision | ||||
Giorgos Keramidas
|
r4699 | unbundle apply one or more changegroup files | ||
Matt Mackall
|
r10889 | update update working directory (or switch revisions) | ||
Thomas Arendsen Hein
|
r3268 | verify verify the integrity of the repository | ||
version output version and copyright information | ||||
Alexis S. L. Carvalho
|
r4315 | |||
Matt Mackall
|
r7210 | additional help topics: | ||
Dirkjan Ochtman
|
r7197 | |||
Martin Geisler
|
r9785 | config Configuration Files | ||
Dirkjan Ochtman
|
r7197 | dates Date Formats | ||
patterns File Name Patterns | ||||
environment Environment Variables | ||||
revisions Specifying Single Revisions | ||||
multirevs Specifying Multiple Revisions | ||||
Martin Geisler
|
r11382 | revsets Specifying Revision Sets | ||
Matt Mackall
|
r7387 | diffs Diff Formats | ||
Dirkjan Ochtman
|
r7679 | templating Template Usage | ||
Martin Geisler
|
r7979 | urls URL Paths | ||
Cédric Duval
|
r8863 | extensions Using additional features | ||
Matt Mackall
|
r10999 | hgweb Configuring hgweb | ||
Faheem Mitha
|
r11356 | glossary Glossary | ||
Dirkjan Ochtman
|
r7197 | |||
Alexis S. L. Carvalho
|
r4315 | use "hg -v help" to show aliases and global options | ||
Thomas Arendsen Hein
|
r3268 | add add the specified files on the next commit | ||
addremove add all new files, delete all missing files | ||||
timeless
|
r8779 | annotate show changeset information by line for each file | ||
archive create an unversioned archive of a repository revision | ||||
Thomas Arendsen Hein
|
r3268 | backout reverse effect of earlier changeset | ||
Matt Mackall
|
r5775 | bisect subdivision search of changesets | ||
Matt Mackall
|
r3502 | branch set or show the current branch name | ||
branches list repository named branches | ||||
Thomas Arendsen Hein
|
r3268 | bundle create a changegroup file | ||
Thomas Arendsen Hein
|
r3914 | cat output the current or given revision of files | ||
Thomas Arendsen Hein
|
r3268 | clone make a copy of an existing repository | ||
commit commit the specified files or all outstanding changes | ||||
copy mark files as copied for the next commit | ||||
diff diff repository (or selected files) | ||||
export dump the header and diffs for one or more changesets | ||||
Steve Losh
|
r8902 | forget forget the specified files on the next commit | ||
Thomas Arendsen Hein
|
r3268 | grep search for a pattern in specified files and revisions | ||
Alexis S. L. Carvalho
|
r4655 | heads show current repository heads or show branch heads | ||
Matt Mackall
|
r7210 | help show help for a given topic or a help overview | ||
Matt Mackall
|
r4665 | identify identify the working copy or specified revision | ||
Thomas Arendsen Hein
|
r3268 | import import an ordered set of patches | ||
incoming show new changesets found in source | ||||
init create a new repository in the given directory | ||||
locate locate files matching specific patterns | ||||
log show revision history of entire repository or files | ||||
Thomas Arendsen Hein
|
r3914 | manifest output the current or given revision of the project manifest | ||
Benoit Boissinot
|
r4014 | merge merge working directory with another revision | ||
timeless
|
r10376 | outgoing show changesets not found in the destination | ||
Martin Geisler
|
r8026 | parents show the parents of the working directory or revision | ||
Matt Mackall
|
r7707 | paths show aliases for remote repositories | ||
Thomas Arendsen Hein
|
r3268 | pull pull changes from the specified source | ||
push push changes to the specified destination | ||||
recover roll back an interrupted transaction | ||||
remove remove the specified files on the next commit | ||||
rename rename files; equivalent of copy + remove | ||||
Martin Geisler
|
r11840 | resolve redo merges or set/view the merge status of files | ||
Martin Geisler
|
r8026 | revert restore individual files or directories to an earlier state | ||
Matt Mackall
|
r10889 | rollback roll back the last transaction (dangerous) | ||
Martin Geisler
|
r8026 | root print the root (top) of the current working directory | ||
Matt Mackall
|
r10889 | serve start stand-alone webserver | ||
Thomas Arendsen Hein
|
r3268 | showconfig show combined config settings from all hgrc files | ||
status show changed files in the working directory | ||||
Matt Mackall
|
r9603 | summary summarize working directory state | ||
John Coomes
|
r6321 | tag add one or more tags for the current or given revision | ||
Thomas Arendsen Hein
|
r3268 | tags list repository tags | ||
tip show the tip revision | ||||
Giorgos Keramidas
|
r4699 | unbundle apply one or more changegroup files | ||
Matt Mackall
|
r10889 | update update working directory (or switch revisions) | ||
Thomas Arendsen Hein
|
r3268 | verify verify the integrity of the repository | ||
version output version and copyright information | ||||
Dirkjan Ochtman
|
r7197 | |||
Matt Mackall
|
r7210 | additional help topics: | ||
Dirkjan Ochtman
|
r7197 | |||
Martin Geisler
|
r9785 | config Configuration Files | ||
Dirkjan Ochtman
|
r7197 | dates Date Formats | ||
patterns File Name Patterns | ||||
environment Environment Variables | ||||
revisions Specifying Single Revisions | ||||
multirevs Specifying Multiple Revisions | ||||
Martin Geisler
|
r11382 | revsets Specifying Revision Sets | ||
Matt Mackall
|
r7387 | diffs Diff Formats | ||
Dirkjan Ochtman
|
r7679 | templating Template Usage | ||
Martin Geisler
|
r7979 | urls URL Paths | ||
Cédric Duval
|
r8863 | extensions Using additional features | ||
Matt Mackall
|
r10999 | hgweb Configuring hgweb | ||
Faheem Mitha
|
r11356 | glossary Glossary | ||
Henri Wiechers
|
r10110 | %% test short command list with verbose option | ||
Mercurial Distributed SCM (version xxx) | ||||
Martin Geisler
|
r10207 | Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others | ||
Henri Wiechers
|
r10110 | This is free software; see the source for copying conditions. There is NO | ||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||||
basic commands: | ||||
add: | ||||
add the specified files on the next commit | ||||
annotate, blame: | ||||
show changeset information by line for each file | ||||
clone: | ||||
make a copy of an existing repository | ||||
commit, ci: | ||||
commit the specified files or all outstanding changes | ||||
diff: | ||||
diff repository (or selected files) | ||||
export: | ||||
dump the header and diffs for one or more changesets | ||||
forget: | ||||
forget the specified files on the next commit | ||||
init: | ||||
create a new repository in the given directory | ||||
log, history: | ||||
show revision history of entire repository or files | ||||
merge: | ||||
merge working directory with another revision | ||||
pull: | ||||
pull changes from the specified source | ||||
push: | ||||
push changes to the specified destination | ||||
remove, rm: | ||||
remove the specified files on the next commit | ||||
serve: | ||||
Matt Mackall
|
r10889 | start stand-alone webserver | ||
Henri Wiechers
|
r10110 | status, st: | ||
show changed files in the working directory | ||||
summary, sum: | ||||
summarize working directory state | ||||
update, up, checkout, co: | ||||
Matt Mackall
|
r10889 | update working directory (or switch revisions) | ||
Henri Wiechers
|
r10110 | |||
global options: | ||||
FUJIWARA Katsunori
|
r11321 | -R --repository REPO repository root directory or name of overlay bundle | ||
file | ||||
--cwd DIR change working directory | ||||
-y --noninteractive do not prompt, assume 'yes' for any required answers | ||||
-q --quiet suppress output | ||||
-v --verbose enable additional output | ||||
--config CONFIG [+] set/override config option (use 'section.name=value') | ||||
--debug enable debugging output | ||||
--debugger start debugger | ||||
--encoding ENCODE set the charset encoding (default: ascii) | ||||
--encodingmode MODE set the charset encoding mode (default: strict) | ||||
--traceback always print a traceback on exception | ||||
--time time how long the command takes | ||||
--profile print command execution profile | ||||
--version output version information and exit | ||||
-h --help display help and exit | ||||
[+] marked option can be specified multiple times | ||||
Henri Wiechers
|
r10110 | |||
use "hg help" for the full list of commands | ||||
mpm@selenic.com
|
r914 | hg add [OPTION]... [FILE]... | ||
Bryan O'Sullivan
|
r736 | |||
Thomas Arendsen Hein
|
r849 | add the specified files on the next commit | ||
mpm@selenic.com
|
r331 | |||
Martin Geisler
|
r9051 | Schedule files to be version controlled and added to the repository. | ||
Benoit Boissinot
|
r1437 | |||
Martin Geisler
|
r9051 | The files will be added to the repository at the next commit. To undo an | ||
Martin Geisler
|
r11193 | add before that, see "hg forget". | ||
Benoit Boissinot
|
r1437 | |||
timeless
|
r7807 | If no names are given, add all files to the repository. | ||
Benoit Boissinot
|
r1437 | |||
Nicolas Dumazet
|
r11507 | Returns 0 if all files are successfully added. | ||
Martin Geisler
|
r10446 | use "hg -v help add" to show verbose help | ||
Thomas Arendsen Hein
|
r849 | options: | ||
Bryan O'Sullivan
|
r736 | |||
FUJIWARA Katsunori
|
r11321 | -I --include PATTERN [+] include names matching the given patterns | ||
-X --exclude PATTERN [+] exclude names matching the given patterns | ||||
-n --dry-run do not perform actions, just print output | ||||
[+] marked option can be specified multiple times | ||||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg -v help add" to show global options | ||||
Martin Geisler
|
r10446 | %% verbose help for add | ||
hg add [OPTION]... [FILE]... | ||||
add the specified files on the next commit | ||||
Schedule files to be version controlled and added to the repository. | ||||
The files will be added to the repository at the next commit. To undo an | ||||
Martin Geisler
|
r11193 | add before that, see "hg forget". | ||
Martin Geisler
|
r10446 | |||
If no names are given, add all files to the repository. | ||||
An example showing how new (unknown) files are added automatically by "hg | ||||
add": | ||||
$ ls | ||||
foo.c | ||||
$ hg status | ||||
? foo.c | ||||
$ hg add | ||||
adding foo.c | ||||
$ hg status | ||||
Matt Mackall
|
r10454 | A foo.c | ||
Martin Geisler
|
r10446 | |||
Nicolas Dumazet
|
r11507 | Returns 0 if all files are successfully added. | ||
Martin Geisler
|
r10446 | options: | ||
FUJIWARA Katsunori
|
r11321 | -I --include PATTERN [+] include names matching the given patterns | ||
-X --exclude PATTERN [+] exclude names matching the given patterns | ||||
-n --dry-run do not perform actions, just print output | ||||
Martin Geisler
|
r10446 | |||
global options: | ||||
FUJIWARA Katsunori
|
r11321 | -R --repository REPO repository root directory or name of overlay bundle | ||
file | ||||
--cwd DIR change working directory | ||||
-y --noninteractive do not prompt, assume 'yes' for any required | ||||
answers | ||||
-q --quiet suppress output | ||||
-v --verbose enable additional output | ||||
--config CONFIG [+] set/override config option (use | ||||
'section.name=value') | ||||
--debug enable debugging output | ||||
--debugger start debugger | ||||
--encoding ENCODE set the charset encoding (default: ascii) | ||||
--encodingmode MODE set the charset encoding mode (default: strict) | ||||
--traceback always print a traceback on exception | ||||
--time time how long the command takes | ||||
--profile print command execution profile | ||||
--version output version information and exit | ||||
-h --help display help and exit | ||||
[+] marked option can be specified multiple times | ||||
Henri Wiechers
|
r10121 | %% test help option with version option | ||
Mercurial Distributed SCM (version xxx) | ||||
Martin Geisler
|
r10207 | Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others | ||
Henri Wiechers
|
r10121 | This is free software; see the source for copying conditions. There is NO | ||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||||
hg add [OPTION]... [FILE]... | ||||
add the specified files on the next commit | ||||
Schedule files to be version controlled and added to the repository. | ||||
The files will be added to the repository at the next commit. To undo an | ||||
Martin Geisler
|
r11193 | add before that, see "hg forget". | ||
Henri Wiechers
|
r10121 | |||
If no names are given, add all files to the repository. | ||||
Nicolas Dumazet
|
r11507 | Returns 0 if all files are successfully added. | ||
Martin Geisler
|
r10446 | use "hg -v help add" to show verbose help | ||
Henri Wiechers
|
r10121 | options: | ||
FUJIWARA Katsunori
|
r11321 | -I --include PATTERN [+] include names matching the given patterns | ||
-X --exclude PATTERN [+] exclude names matching the given patterns | ||||
-n --dry-run do not perform actions, just print output | ||||
[+] marked option can be specified multiple times | ||||
Henri Wiechers
|
r10121 | |||
use "hg -v help add" to show global options | ||||
Thomas Arendsen Hein
|
r849 | hg add: option --skjdfks not recognized | ||
mpm@selenic.com
|
r914 | hg add [OPTION]... [FILE]... | ||
mpm@selenic.com
|
r596 | |||
add the specified files on the next commit | ||||
Thomas Arendsen Hein
|
r849 | |||
Martin Geisler
|
r9051 | Schedule files to be version controlled and added to the repository. | ||
Benoit Boissinot
|
r1437 | |||
Martin Geisler
|
r9051 | The files will be added to the repository at the next commit. To undo an | ||
Martin Geisler
|
r11193 | add before that, see "hg forget". | ||
Benoit Boissinot
|
r1437 | |||
timeless
|
r7807 | If no names are given, add all files to the repository. | ||
Benoit Boissinot
|
r1437 | |||
Nicolas Dumazet
|
r11507 | Returns 0 if all files are successfully added. | ||
Martin Geisler
|
r10446 | use "hg -v help add" to show verbose help | ||
Thomas Arendsen Hein
|
r849 | options: | ||
FUJIWARA Katsunori
|
r11321 | -I --include PATTERN [+] include names matching the given patterns | ||
-X --exclude PATTERN [+] exclude names matching the given patterns | ||||
-n --dry-run do not perform actions, just print output | ||||
[+] marked option can be specified multiple times | ||||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg -v help add" to show global options | ||||
Henri Wiechers
|
r10139 | %% test ambiguous command help | ||
list of commands: | ||||
add add the specified files on the next commit | ||||
addremove add all new files, delete all missing files | ||||
use "hg -v help ad" to show aliases and global options | ||||
Henri Wiechers
|
r10140 | %% test command without options | ||
hg verify | ||||
verify the integrity of the repository | ||||
Verify the integrity of the current repository. | ||||
This will perform an extensive check of the repository's integrity, | ||||
validating the hashes and checksums of each entry in the changelog, | ||||
manifest, and tracked files, as well as the integrity of their crosslinks | ||||
and indices. | ||||
Matt Mackall
|
r11177 | Returns 0 on success, 1 if errors are encountered. | ||
Henri Wiechers
|
r10140 | use "hg -v help verify" to show global options | ||
timeless
|
r10520 | hg diff [OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]... | ||
mpm@selenic.com
|
r331 | |||
Benoit Boissinot
|
r1568 | diff repository (or selected files) | ||
Thomas Arendsen Hein
|
r849 | |||
Benoit Boissinot
|
r1437 | Show differences between revisions for the specified files. | ||
Differences between files are shown using the unified diff format. | ||||
Martin Geisler
|
r9051 | NOTE: diff may generate unexpected results for merges, as it will default | ||
to comparing against the working directory's first parent changeset if no | ||||
revisions are specified. | ||||
Matt Mackall
|
r3829 | |||
Martin Geisler
|
r9051 | When two revision arguments are given, then changes are shown between | ||
those revisions. If only one revision is specified then that revision is | ||||
compared to the working directory, and, when no revisions are specified, | ||||
the working directory files are compared to its parent. | ||||
Benoit Boissinot
|
r1437 | |||
timeless
|
r10527 | Alternatively you can specify -c/--change with a revision to see the | ||
changes in that changeset relative to its first parent. | ||||
timeless
|
r10520 | |||
Martin Geisler
|
r9051 | Without the -a/--text option, diff will avoid generating diffs of files it | ||
detects as binary. With -a, diff will generate a diff anyway, probably | ||||
with undesirable results. | ||||
Benoit Boissinot
|
r1437 | |||
Martin Geisler
|
r9051 | Use the -g/--git option to generate diffs in the git extended diff format. | ||
Martin Geisler
|
r10973 | For more information, read "hg help diffs". | ||
Dirkjan Ochtman
|
r7307 | |||
Matt Mackall
|
r11177 | Returns 0 on success. | ||
Thomas Arendsen Hein
|
r849 | options: | ||
FUJIWARA Katsunori
|
r11321 | -r --rev REV [+] revision | ||
-c --change REV change made by revision | ||||
Haakon Riiser
|
r2580 | -a --text treat all files as text | ||
Brendan Cully
|
r2907 | -g --git use git extended diff format | ||
timeless@mozdev.org
|
r10375 | --nodates omit dates from diff headers | ||
Jason Orendorff
|
r6668 | -p --show-function show which function each change is in | ||
Martin Geisler
|
r9857 | --reverse produce a diff that undoes the changes | ||
Haakon Riiser
|
r2580 | -w --ignore-all-space ignore white space when comparing lines | ||
-b --ignore-space-change ignore changes in the amount of white space | ||||
-B --ignore-blank-lines ignore changes whose lines are all blank | ||||
FUJIWARA Katsunori
|
r11321 | -U --unified NUM number of lines of context to show | ||
Brodie Rao
|
r9640 | --stat output diffstat-style summary of changes | ||
FUJIWARA Katsunori
|
r11321 | -I --include PATTERN [+] include names matching the given patterns | ||
-X --exclude PATTERN [+] exclude names matching the given patterns | ||||
[+] marked option can be specified multiple times | ||||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg -v help diff" to show global options | ||||
mpm@selenic.com
|
r914 | hg status [OPTION]... [FILE]... | ||
mpm@selenic.com
|
r331 | |||
Thomas Arendsen Hein
|
r5783 | aliases: st | ||
Thomas Arendsen Hein
|
r849 | show changed files in the working directory | ||
Martin Geisler
|
r9051 | Show status of files in the repository. If names are given, only files | ||
that match are shown. Files that are clean or ignored or the source of a | ||||
copy/move operation, are not listed unless -c/--clean, -i/--ignored, | ||||
-C/--copies or -A/--all are given. Unless options described with "show | ||||
only ..." are given, the options -mardu are used. | ||||
Benoit Boissinot
|
r1437 | |||
Martin Geisler
|
r9051 | Option -q/--quiet hides untracked (unknown and ignored) files unless | ||
explicitly requested with -u/--unknown or -i/--ignored. | ||||
Zoran Bosnjak
|
r6200 | |||
Martin Geisler
|
r9051 | NOTE: status may appear to disagree with diff if permissions have changed | ||
or a merge has occurred. The standard diff format does not report | ||||
permission changes and diff only reports changes relative to one merge | ||||
parent. | ||||
Matt Mackall
|
r3829 | |||
Martin Geisler
|
r9051 | If one revision is given, it is used as the base revision. If two | ||
Gilles Moris
|
r10014 | revisions are given, the differences between them are shown. The --change | ||
option can also be used as a shortcut to list the changed files of a | ||||
revision from its first parent. | ||||
Alexis S. L. Carvalho
|
r3468 | |||
Benoit Boissinot
|
r1437 | The codes used to show the status of files are: | ||
Martin Geisler
|
r9157 | |||
Martin Geisler
|
r9291 | M = modified | ||
A = added | ||||
R = removed | ||||
C = clean | ||||
! = missing (deleted by non-hg command, but still tracked) | ||||
? = not tracked | ||||
I = ignored | ||||
= origin of the previous file listed as A (added) | ||||
Thomas Arendsen Hein
|
r849 | |||
Matt Mackall
|
r11177 | Returns 0 on success. | ||
Thomas Arendsen Hein
|
r849 | options: | ||
FUJIWARA Katsunori
|
r11321 | -A --all show status of all files | ||
-m --modified show only modified files | ||||
-a --added show only added files | ||||
-r --removed show only removed files | ||||
-d --deleted show only deleted (but tracked) files | ||||
-c --clean show only files without changes | ||||
-u --unknown show only unknown (not tracked) files | ||||
-i --ignored show only ignored files | ||||
-n --no-status hide status prefix | ||||
-C --copies show source of copied files | ||||
-0 --print0 end filenames with NUL, for use with xargs | ||||
--rev REV [+] show difference from revision | ||||
--change REV list the changed files of a revision | ||||
-I --include PATTERN [+] include names matching the given patterns | ||||
-X --exclude PATTERN [+] exclude names matching the given patterns | ||||
[+] marked option can be specified multiple times | ||||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg -v help status" to show global options | ||||
mpm@selenic.com
|
r914 | hg status [OPTION]... [FILE]... | ||
Thomas Arendsen Hein
|
r849 | |||
show changed files in the working directory | ||||
Thomas Arendsen Hein
|
r848 | hg: unknown command 'foo' | ||
Thomas Arendsen Hein
|
r849 | Mercurial Distributed SCM | ||
Alexis S. L. Carvalho
|
r4315 | basic commands: | ||
Thomas Arendsen Hein
|
r848 | |||
add add the specified files on the next commit | ||||
timeless
|
r8779 | annotate show changeset information by line for each file | ||
Thomas Arendsen Hein
|
r848 | clone make a copy of an existing repository | ||
commit commit the specified files or all outstanding changes | ||||
Benoit Boissinot
|
r1568 | diff diff repository (or selected files) | ||
Thomas Arendsen Hein
|
r848 | export dump the header and diffs for one or more changesets | ||
Steve Losh
|
r8902 | forget forget the specified files on the next commit | ||
mpm@selenic.com
|
r908 | init create a new repository in the given directory | ||
Bryan O'Sullivan
|
r1034 | log show revision history of entire repository or files | ||
Benoit Boissinot
|
r4014 | merge merge working directory with another revision | ||
Thomas Arendsen Hein
|
r848 | pull pull changes from the specified source | ||
push push changes to the specified destination | ||||
remove remove the specified files on the next commit | ||||
Matt Mackall
|
r10889 | serve start stand-alone webserver | ||
Thomas Arendsen Hein
|
r848 | status show changed files in the working directory | ||
Matt Mackall
|
r9603 | summary summarize working directory state | ||
Matt Mackall
|
r10889 | update update working directory (or switch revisions) | ||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg help" for the full list of commands or "hg -v" for details | ||||
Thomas Arendsen Hein
|
r849 | hg: unknown command 'skjdfks' | ||
Mercurial Distributed SCM | ||||
Alexis S. L. Carvalho
|
r4315 | basic commands: | ||
Thomas Arendsen Hein
|
r848 | |||
add add the specified files on the next commit | ||||
timeless
|
r8779 | annotate show changeset information by line for each file | ||
Thomas Arendsen Hein
|
r848 | clone make a copy of an existing repository | ||
commit commit the specified files or all outstanding changes | ||||
Benoit Boissinot
|
r1568 | diff diff repository (or selected files) | ||
Thomas Arendsen Hein
|
r848 | export dump the header and diffs for one or more changesets | ||
Steve Losh
|
r8902 | forget forget the specified files on the next commit | ||
mpm@selenic.com
|
r908 | init create a new repository in the given directory | ||
Bryan O'Sullivan
|
r1034 | log show revision history of entire repository or files | ||
Benoit Boissinot
|
r4014 | merge merge working directory with another revision | ||
Thomas Arendsen Hein
|
r848 | pull pull changes from the specified source | ||
push push changes to the specified destination | ||||
remove remove the specified files on the next commit | ||||
Matt Mackall
|
r10889 | serve start stand-alone webserver | ||
Thomas Arendsen Hein
|
r848 | status show changed files in the working directory | ||
Matt Mackall
|
r9603 | summary summarize working directory state | ||
Matt Mackall
|
r10889 | update update working directory (or switch revisions) | ||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg help" for the full list of commands or "hg -v" for details | ||||
Henri Wiechers
|
r10141 | %% test command with no help text | ||
hg nohelp | ||||
(no help text available) | ||||
use "hg -v help nohelp" to show global options | ||||
Henri Wiechers
|
r10142 | %% test that default list of commands omits extension commands | ||
Mercurial Distributed SCM | ||||
list of commands: | ||||
add add the specified files on the next commit | ||||
addremove add all new files, delete all missing files | ||||
annotate show changeset information by line for each file | ||||
archive create an unversioned archive of a repository revision | ||||
backout reverse effect of earlier changeset | ||||
bisect subdivision search of changesets | ||||
branch set or show the current branch name | ||||
branches list repository named branches | ||||
bundle create a changegroup file | ||||
cat output the current or given revision of files | ||||
clone make a copy of an existing repository | ||||
commit commit the specified files or all outstanding changes | ||||
copy mark files as copied for the next commit | ||||
diff diff repository (or selected files) | ||||
export dump the header and diffs for one or more changesets | ||||
forget forget the specified files on the next commit | ||||
grep search for a pattern in specified files and revisions | ||||
heads show current repository heads or show branch heads | ||||
help show help for a given topic or a help overview | ||||
identify identify the working copy or specified revision | ||||
import import an ordered set of patches | ||||
incoming show new changesets found in source | ||||
init create a new repository in the given directory | ||||
locate locate files matching specific patterns | ||||
log show revision history of entire repository or files | ||||
manifest output the current or given revision of the project manifest | ||||
merge merge working directory with another revision | ||||
timeless
|
r10376 | outgoing show changesets not found in the destination | ||
Henri Wiechers
|
r10142 | parents show the parents of the working directory or revision | ||
paths show aliases for remote repositories | ||||
pull pull changes from the specified source | ||||
push push changes to the specified destination | ||||
recover roll back an interrupted transaction | ||||
remove remove the specified files on the next commit | ||||
rename rename files; equivalent of copy + remove | ||||
Martin Geisler
|
r11840 | resolve redo merges or set/view the merge status of files | ||
Henri Wiechers
|
r10142 | revert restore individual files or directories to an earlier state | ||
Matt Mackall
|
r10889 | rollback roll back the last transaction (dangerous) | ||
Henri Wiechers
|
r10142 | root print the root (top) of the current working directory | ||
Matt Mackall
|
r10889 | serve start stand-alone webserver | ||
Henri Wiechers
|
r10142 | showconfig show combined config settings from all hgrc files | ||
status show changed files in the working directory | ||||
summary summarize working directory state | ||||
tag add one or more tags for the current or given revision | ||||
tags list repository tags | ||||
tip show the tip revision | ||||
unbundle apply one or more changegroup files | ||||
Matt Mackall
|
r10889 | update update working directory (or switch revisions) | ||
Henri Wiechers
|
r10142 | verify verify the integrity of the repository | ||
version output version and copyright information | ||||
enabled extensions: | ||||
helpext (no help text available) | ||||
additional help topics: | ||||
config Configuration Files | ||||
dates Date Formats | ||||
patterns File Name Patterns | ||||
environment Environment Variables | ||||
revisions Specifying Single Revisions | ||||
multirevs Specifying Multiple Revisions | ||||
Martin Geisler
|
r11382 | revsets Specifying Revision Sets | ||
Henri Wiechers
|
r10142 | diffs Diff Formats | ||
templating Template Usage | ||||
urls URL Paths | ||||
extensions Using additional features | ||||
Matt Mackall
|
r10999 | hgweb Configuring hgweb | ||
Faheem Mitha
|
r11356 | glossary Glossary | ||
Henri Wiechers
|
r10142 | |||
use "hg -v help" to show aliases and global options | ||||
Henri Wiechers
|
r10143 | %% test list of commands with command with no help text | ||
helpext extension - no help text available | ||||
list of commands: | ||||
nohelp (no help text available) | ||||
use "hg -v help helpext" to show aliases and global options | ||||
Henri Wiechers
|
r10144 | %% test a help topic | ||
Specifying Single Revisions | ||||
Mercurial supports several ways to specify individual revisions. | ||||
A plain integer is treated as a revision number. Negative integers are | ||||
treated as sequential offsets from the tip, with -1 denoting the tip, -2 | ||||
denoting the revision prior to the tip, and so forth. | ||||
A 40-digit hexadecimal string is treated as a unique revision identifier. | ||||
A hexadecimal string less than 40 characters long is treated as a unique | ||||
revision identifier and is referred to as a short-form identifier. A | ||||
short-form identifier is only valid if it is the prefix of exactly one | ||||
full-length identifier. | ||||
Any other string is treated as a tag or branch name. A tag name is a | ||||
symbolic name associated with a revision identifier. A branch name denotes | ||||
the tipmost revision of that branch. Tag and branch names must not contain | ||||
the ":" character. | ||||
The reserved name "tip" is a special tag that always identifies the most | ||||
recent revision. | ||||
The reserved name "null" indicates the null revision. This is the revision | ||||
of an empty repository, and the parent of revision 0. | ||||
The reserved name "." indicates the working directory parent. If no | ||||
working directory is checked out, it is equivalent to null. If an | ||||
uncommitted merge is in progress, "." is the revision of the first parent. | ||||