Merge with stable
authorPatrick Mezard <patrick@mezard.eu>
Thu, 02 Aug 2012 18:33:40 +0200
changeset 17331 ef8d612bebe7
parent 17330 32e9d63d9ba6 (diff)
parent 17329 e15765c18ebc (current diff)
child 17332 b950b86ac897
Merge with stable
--- a/mercurial/context.py	Thu Aug 02 01:49:36 2012 -0500
+++ b/mercurial/context.py	Thu Aug 02 18:33:40 2012 +0200
@@ -885,8 +885,7 @@
         p = self._repo.dirstate.parents()
         if p[1] == nullid:
             p = p[:-1]
-        self._parents = [changectx(self._repo, x) for x in p]
-        return self._parents
+        return [changectx(self._repo, x) for x in p]
 
     def status(self, ignored=False, clean=False, unknown=False):
         """Explicit status query