mercurial/obsolete.py
changeset 22259 2e6f03a193f9
parent 22258 cf414981978a
child 22262 10880c8aad85
--- a/mercurial/obsolete.py	Mon Aug 18 16:28:44 2014 -0700
+++ b/mercurial/obsolete.py	Mon Aug 18 17:14:27 2014 -0700
@@ -241,6 +241,10 @@
         """List of successor changesets node identifiers"""
         return self._data[1]
 
+    def parentnodes(self):
+        """Parents of the precursors (None if not recorded)"""
+        return self._data[5]
+
     def metadata(self):
         """Decoded metadata dictionary"""
         if self._decodedmeta is None: