# 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 -r 76ab39df0917 -r 3637d5d17cbc mercurial/commands.py --- a/mercurial/commands.py Wed Sep 27 12:08:33 2006 -0700 +++ b/mercurial/commands.py Wed Sep 27 21:43:45 2006 +0200 @@ -574,7 +574,7 @@ 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 @@ ('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 -r 76ab39df0917 -r 3637d5d17cbc tests/test-globalopts.out --- a/tests/test-globalopts.out Wed Sep 27 12:08:33 2006 -0700 +++ b/tests/test-globalopts.out Wed Sep 27 21:43:45 2006 +0200 @@ -115,7 +115,7 @@ 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 @@ 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 -r 76ab39df0917 -r 3637d5d17cbc tests/test-help.out --- a/tests/test-help.out Wed Sep 27 12:08:33 2006 -0700 +++ b/tests/test-help.out Wed Sep 27 21:43:45 2006 +0200 @@ -39,7 +39,7 @@ 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 @@ 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