Documentation fixes for addremove.
- It is no longer deprecated, but the short help still included (DEPRECATED).
- Similarity parameter has to be 0<=s<=100 and not 0<=s<=1.
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -574,7 +574,7 @@ def add(ui, repo, *pats, **opts):
repo.add(names)
def addremove(ui, repo, *pats, **opts):
- """add all new files, delete all missing files (DEPRECATED)
+ """add all new files, delete all missing files
Add all new files and remove all missing files from the repository.
@@ -2667,7 +2667,7 @@ table = {
('n', 'dry-run', None,
_('do not perform actions, just print output')),
('s', 'similarity', '',
- _('guess renamed files by similarity (0<=s<=1)'))],
+ _('guess renamed files by similarity (0<=s<=100)'))],
_('hg addremove [OPTION]... [FILE]...')),
"^annotate":
(annotate,
--- a/tests/test-globalopts.out
+++ b/tests/test-globalopts.out
@@ -115,7 +115,7 @@ Mercurial Distributed SCM
list of commands (use "hg help -v" to show aliases and global options):
add add the specified files on the next commit
- addremove add all new files, delete all missing files (DEPRECATED)
+ addremove add all new files, delete all missing files
annotate show changeset information per file line
archive create unversioned archive of a repository revision
backout reverse effect of earlier changeset
@@ -162,7 +162,7 @@ Mercurial Distributed SCM
list of commands (use "hg help -v" to show aliases and global options):
add add the specified files on the next commit
- addremove add all new files, delete all missing files (DEPRECATED)
+ addremove add all new files, delete all missing files
annotate show changeset information per file line
archive create unversioned archive of a repository revision
backout reverse effect of earlier changeset
--- a/tests/test-help.out
+++ b/tests/test-help.out
@@ -39,7 +39,7 @@ Mercurial Distributed SCM
list of commands (use "hg help -v" to show aliases and global options):
add add the specified files on the next commit
- addremove add all new files, delete all missing files (DEPRECATED)
+ addremove add all new files, delete all missing files
annotate show changeset information per file line
archive create unversioned archive of a repository revision
backout reverse effect of earlier changeset
@@ -82,7 +82,7 @@ list of commands (use "hg help -v" to sh
verify verify the integrity of the repository
version output version and copyright information
add add the specified files on the next commit
- addremove add all new files, delete all missing files (DEPRECATED)
+ addremove add all new files, delete all missing files
annotate show changeset information per file line
archive create unversioned archive of a repository revision
backout reverse effect of earlier changeset