mercurial/commands.py
changeset 259 45c293b71341
parent 257 65dccc4555c2
child 262 3db700146536
--- 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):