mercurial/subrepo.py
changeset 13242 a8cef95cea88
parent 13182 2537bd17421d
child 13288 9c3bfba3f48d
--- a/mercurial/subrepo.py	Fri Jan 07 17:44:23 2011 +0100
+++ b/mercurial/subrepo.py	Tue Jan 04 11:33:47 2011 -0600
@@ -544,7 +544,7 @@
 
     def dirty(self, ignoreupdate=False):
         if not self._wcchanged()[0]:
-            if self._wcrev() == self._state[1] and not ignoreupdate:
+            if self._wcrev() == self._state[1] or ignoreupdate:
                 return False
         return True