##// END OF EJS Templates
use __contains__, index or split instead of str.find...
use __contains__, index or split instead of str.find str.find return -1 when the substring is not found, -1 evaluate to True and is a valid index, which can lead to bugs. Using alternatives when possible makes the code clearer and less prone to bugs. (and __contains__ is faster in microbenchmarks)

File last commit:

r2553:5b426676 default
r2579:0875cda0 default
Show More
test-help.out
255 lines | 11.3 KiB | text/plain | TextLexer
Thomas Arendsen Hein
Further help improvements:...
r849 Mercurial Distributed SCM
basic commands (use "hg help" for the full list or option "-v" for details):
add add the specified files on the next commit
annotate show changeset information per file line
clone make a copy of an existing repository
commit commit the specified files or all outstanding changes
Benoit Boissinot
make all commands be repo-wide by default...
r1568 diff diff repository (or selected files)
Thomas Arendsen Hein
Further help improvements:...
r849 export dump the header and diffs for one or more changesets
mpm@selenic.com
Fix tests for new init command
r908 init create a new repository in the given directory
Bryan O'Sullivan
Fix help output, and a few broken tests.
r1034 log show revision history of entire repository or files
Matt Mackall
Elevate parents to a "common" command in help
r1475 parents show the parents of the working dir or revision
Thomas Arendsen Hein
Further help improvements:...
r849 pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
Vadim Gelfer
fix test-help output.
r2226 revert revert files or dirs to their states as of some revision
Thomas Arendsen Hein
Further help improvements:...
r849 serve export the repository via HTTP
status show changed files in the working directory
update update or merge working directory
add add the specified files on the next commit
annotate show changeset information per file line
clone make a copy of an existing repository
commit commit the specified files or all outstanding changes
Benoit Boissinot
make all commands be repo-wide by default...
r1568 diff diff repository (or selected files)
Thomas Arendsen Hein
Further help improvements:...
r849 export dump the header and diffs for one or more changesets
mpm@selenic.com
Fix tests for new init command
r908 init create a new repository in the given directory
Bryan O'Sullivan
Fix help output, and a few broken tests.
r1034 log show revision history of entire repository or files
Matt Mackall
Elevate parents to a "common" command in help
r1475 parents show the parents of the working dir or revision
Thomas Arendsen Hein
Further help improvements:...
r849 pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
Vadim Gelfer
fix test-help output.
r2226 revert revert files or dirs to their states as of some revision
Thomas Arendsen Hein
Further help improvements:...
r849 serve export the repository via HTTP
status show changed files in the working directory
update update or merge working directory
Mercurial Distributed SCM
list of commands (use "hg help -v" to show aliases and global options):
Thomas Arendsen Hein
Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'....
r2184 add add the specified files on the next commit
annotate show changeset information per file line
archive create unversioned archive of a repository revision
backout reverse effect of earlier changeset
bundle create a changegroup file
cat output the latest or given revisions 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
grep search for a pattern in specified files and revisions
heads show current repository heads
Vadim Gelfer
help: make "hg help EXTENSION" work
r2553 help show help for a command, extension, or list of commands
Thomas Arendsen Hein
Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'....
r2184 identify print information about the working copy
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 latest or given revision of the project manifest
merge Merge working directory with another revision
outgoing show changesets not found in destination
parents show the parents of the working dir or revision
paths show definition of symbolic path names
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
Vadim Gelfer
fix test-help output.
r2226 revert revert files or dirs to their states as of some revision
rollback roll back the last transaction in this repository
Thomas Arendsen Hein
Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'....
r2184 root print the root (top) of the current working dir
serve export the repository via HTTP
status show changed files in the working directory
tag add a tag for the current tip or a given revision
tags list repository tags
tip show the tip revision
unbundle apply a changegroup file
update update or merge working directory
verify verify the integrity of the repository
version output version and copyright information
add add the specified files on the next commit
annotate show changeset information per file line
archive create unversioned archive of a repository revision
backout reverse effect of earlier changeset
bundle create a changegroup file
cat output the latest or given revisions 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
grep search for a pattern in specified files and revisions
heads show current repository heads
Vadim Gelfer
help: make "hg help EXTENSION" work
r2553 help show help for a command, extension, or list of commands
Thomas Arendsen Hein
Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'....
r2184 identify print information about the working copy
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 latest or given revision of the project manifest
merge Merge working directory with another revision
outgoing show changesets not found in destination
parents show the parents of the working dir or revision
paths show definition of symbolic path names
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
Vadim Gelfer
fix test-help output.
r2226 revert revert files or dirs to their states as of some revision
rollback roll back the last transaction in this repository
Thomas Arendsen Hein
Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'....
r2184 root print the root (top) of the current working dir
serve export the repository via HTTP
status show changed files in the working directory
tag add a tag for the current tip or a given revision
tags list repository tags
tip show the tip revision
unbundle apply a changegroup file
update update or merge working directory
verify verify the integrity of the repository
version output version and copyright information
mpm@selenic.com
Fix up help test
r914 hg add [OPTION]... [FILE]...
Bryan O'Sullivan
Update tests to reflect walk changes.
r736
Thomas Arendsen Hein
Further help improvements:...
r849 add the specified files on the next commit
mpm@selenic.com
Add a simple testing framework...
r331
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437 Schedule files to be version controlled and added to the repository.
The files will be added to the repository at the next commit.
Benoit Boissinot
make all commands be repo-wide by default...
r1568 If no names are given, add all files in the repository.
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437
Thomas Arendsen Hein
Further help improvements:...
r849 options:
Bryan O'Sullivan
Update tests to reflect walk changes.
r736
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437 -I --include include names matching the given patterns
-X --exclude exclude names matching the given patterns
Vadim Gelfer
update test-help output after new options.
r2418 -n --dry-run do not perform actions, just print output
Thomas Arendsen Hein
Further help improvements:...
r849 hg add: option --skjdfks not recognized
mpm@selenic.com
Fix up help test
r914 hg add [OPTION]... [FILE]...
mpm@selenic.com
A bunch of parsing/help updates...
r596
add the specified files on the next commit
Thomas Arendsen Hein
Further help improvements:...
r849
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437 Schedule files to be version controlled and added to the repository.
The files will be added to the repository at the next commit.
Benoit Boissinot
make all commands be repo-wide by default...
r1568 If no names are given, add all files in the repository.
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437
Thomas Arendsen Hein
Further help improvements:...
r849 options:
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437 -I --include include names matching the given patterns
-X --exclude exclude names matching the given patterns
Vadim Gelfer
update test-help output after new options.
r2418 -n --dry-run do not perform actions, just print output
mpm@selenic.com
Minor test-help fix
r1055 hg diff [-a] [-I] [-X] [-r REV1 [-r REV2]] [FILE]...
mpm@selenic.com
Add a simple testing framework...
r331
Benoit Boissinot
make all commands be repo-wide by default...
r1568 diff repository (or selected files)
Thomas Arendsen Hein
Further help improvements:...
r849
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437 Show differences between revisions for the specified files.
Differences between files are shown using the unified diff format.
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.
Without the -a option, diff will avoid generating diffs of files
it detects as binary. With -a, diff will generate a diff anyway,
probably with undesirable results.
Thomas Arendsen Hein
Further help improvements:...
r849 options:
Vadim Gelfer
fix test-help diff options.
r1733 -r --rev revision
-a --text treat all files as text
-p --show-function show which function each change is in
-w --ignore-all-space ignore white space when comparing lines
Thomas Arendsen Hein
Updated help synopsises and reordered some options. Dropped [-n] from revert.
r1816 -I --include include names matching the given patterns
Vadim Gelfer
fix test-help diff options.
r1733 -X --exclude exclude names matching the given patterns
mpm@selenic.com
Fix up help test
r914 hg status [OPTION]... [FILE]...
mpm@selenic.com
Add a simple testing framework...
r331
Thomas Arendsen Hein
Further help improvements:...
r849 show changed files in the working directory
Benoit Boissinot
make all commands be repo-wide by default...
r1568 Show changed files in the repository. If names are
given, only files that match are shown.
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437
The codes used to show the status of files are:
Thomas Arendsen Hein
Further help improvements:...
r849 M = modified
A = added
R = removed
Thomas Arendsen Hein
Adjusted all but one test output for the new behaviour of localrepo.changes()
r1620 ! = deleted, but still tracked
Thomas Arendsen Hein
Further help improvements:...
r849 ? = not tracked
Thomas Arendsen Hein
New option -i/--ignored for 'hg status' to show ignored files....
r2022 I = ignored (not shown by default)
Thomas Arendsen Hein
Further help improvements:...
r849
Matt Mackall
Fix up test-help, mark test-rename +x
r1515 aliases: st
Thomas Arendsen Hein
Further help improvements:...
r849 options:
Thomas Arendsen Hein
Adjusted test-help for change to hg status.
r1107 -m --modified show only modified files
-a --added show only added files
-r --removed show only removed files
Thomas Arendsen Hein
Adjusted all but one test output for the new behaviour of localrepo.changes()
r1620 -d --deleted show only deleted (but tracked) files
Thomas Arendsen Hein
Adjusted test-help for change to hg status.
r1107 -u --unknown show only unknown (not tracked) files
Thomas Arendsen Hein
New option -i/--ignored for 'hg status' to show ignored files....
r2022 -i --ignored show ignored files
Thomas Arendsen Hein
Adjusted test-help for change to hg status.
r1107 -n --no-status hide status prefix
Benoit Boissinot
import docstring from doc/hg.1.txt
r1437 -0 --print0 end filenames with NUL, for use with xargs
-I --include include names matching the given patterns
-X --exclude exclude names matching the given patterns
mpm@selenic.com
Fix up help test
r914 hg status [OPTION]... [FILE]...
Thomas Arendsen Hein
Further help improvements:...
r849
show changed files in the working directory
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848 hg: unknown command 'foo'
Thomas Arendsen Hein
Further help improvements:...
r849 Mercurial Distributed SCM
basic commands (use "hg help" for the full list or option "-v" for details):
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848
add add the specified files on the next commit
annotate show changeset information per file line
clone make a copy of an existing repository
commit commit the specified files or all outstanding changes
Benoit Boissinot
make all commands be repo-wide by default...
r1568 diff diff repository (or selected files)
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848 export dump the header and diffs for one or more changesets
mpm@selenic.com
Fix tests for new init command
r908 init create a new repository in the given directory
Bryan O'Sullivan
Fix help output, and a few broken tests.
r1034 log show revision history of entire repository or files
Matt Mackall
Elevate parents to a "common" command in help
r1475 parents show the parents of the working dir or revision
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848 pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
Vadim Gelfer
fix test-help output.
r2226 revert revert files or dirs to their states as of some revision
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848 serve export the repository via HTTP
status show changed files in the working directory
update update or merge working directory
Thomas Arendsen Hein
Further help improvements:...
r849 hg: unknown command 'skjdfks'
Mercurial Distributed SCM
basic commands (use "hg help" for the full list or option "-v" for details):
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848
add add the specified files on the next commit
annotate show changeset information per file line
clone make a copy of an existing repository
commit commit the specified files or all outstanding changes
Benoit Boissinot
make all commands be repo-wide by default...
r1568 diff diff repository (or selected files)
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848 export dump the header and diffs for one or more changesets
mpm@selenic.com
Fix tests for new init command
r908 init create a new repository in the given directory
Bryan O'Sullivan
Fix help output, and a few broken tests.
r1034 log show revision history of entire repository or files
Matt Mackall
Elevate parents to a "common" command in help
r1475 parents show the parents of the working dir or revision
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848 pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
Vadim Gelfer
fix test-help output.
r2226 revert revert files or dirs to their states as of some revision
Thomas Arendsen Hein
Always show short help when an unknown command is given.
r848 serve export the repository via HTTP
status show changed files in the working directory
update update or merge working directory