changeset 259:45c293b71341

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-----
author mpm@selenic.com
date Sat, 04 Jun 2005 23:37:11 -0800
parents 268bcb5a072a
children d7ce76d82876
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Jun 04 20:02:27 2005 -0800
+++ b/mercurial/commands.py	Sat Jun 04 23:37:11 2005 -0800
@@ -104,7 +104,7 @@
 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):