mercurial/localrepo.py
changeset 8699 f364cc1d98c4
parent 8694 ca8d05e1f1d1
child 8705 509083f54e52
--- a/mercurial/localrepo.py	Mon Jun 01 13:51:21 2009 -0500
+++ b/mercurial/localrepo.py	Mon Jun 01 13:51:21 2009 -0500
@@ -801,7 +801,9 @@
                         self.ui.warn(_("%s not tracked!\n") % f)
                 changes = [modified, [], removed, [], []]
             else:
-                changes = self.status(match=match)
+                changes = self.status(match=match, clean=force)
+                if force:
+                    changes[0].extend(changes[6])
 
             if (not force and not extra.get("close") and p2 == nullid
                 and not (changes[0] or changes[1] or changes[2])