mercurial/localrepo.py
branchstable
changeset 14870 f73c7b70df68
parent 14825 de9eb6b1da4f
child 14902 96a72cbc6c29
--- a/mercurial/localrepo.py	Wed Jul 13 16:28:46 2011 -0500
+++ b/mercurial/localrepo.py	Wed Jul 13 17:41:49 2011 -0500
@@ -1195,7 +1195,7 @@
         if working: # we need to scan the working dir
             subrepos = []
             if '.hgsub' in self.dirstate:
-                subrepos = ctx1.substate.keys()
+                subrepos = ctx2.substate.keys()
             s = self.dirstate.status(match, subrepos, listignored,
                                      listclean, listunknown)
             cmp, modified, added, removed, deleted, unknown, ignored, clean = s