# HG changeset patch # User Thomas Arendsen Hein # Date 1159386225 -7200 # Node ID 3637d5d17cbc702c45796748f613e05e862d8b6f # Parent 76ab39df0917fb88b48daaf7075e1d56a9444e63 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. diff --git a/mercurial/commands.py b/mercurial/commands.py --- 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, diff --git a/tests/test-globalopts.out b/tests/test-globalopts.out --- 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 diff --git a/tests/test-help.out b/tests/test-help.out --- 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