# HG changeset patch # User mpm@selenic.com # Date 1117957031 28800 # Node ID 45c293b7134100c027ae3697cfe34921e152170e # Parent 268bcb5a072a5130e6c7ceced070ec038adf00c9 fix addremove -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 fix addremove manifest hash: 15a37c156e2186e89ef086ef974541bf1c695280 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCoqunywK+sNU5EO8RAuICAJ9x7W0xz1ZBJ7nFYiiQEBljyYwqhACfVE7R oiP0nigB4SzQMMmifrQ7UkA= =/c5l -----END PGP SIGNATURE----- diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -104,7 +104,7 @@ def add(ui, repo, file, *files): def addremove(ui, repo): """add all new files, delete all missing files""" (c, a, d, u) = repo.diffdir(repo.root) - repo.add(a) + repo.add(u) repo.remove(d) def annotate(u, repo, file, *files, **ops):