fix addremove
authormpm@selenic.com
Sat, 04 Jun 2005 23:37:11 -0800
changeset 259 45c293b71341
parent 258 268bcb5a072a
child 260 d7ce76d82876
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-----
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):