mercurial/obsolete.py
changeset 26308 f2788794183a
parent 26287 5c217bcc4597
child 26309 44918682093f
--- a/mercurial/obsolete.py	Wed Sep 23 00:41:07 2015 -0700
+++ b/mercurial/obsolete.py	Sun Sep 13 17:47:18 2015 +0900
@@ -527,7 +527,9 @@
         self._readonly = readonly
         if data:
             self._version, markers = _readmarkers(data)
-            self._addmarkers(markers)
+            markers = list(markers)
+            _checkinvalidmarkers(markers)
+            self._all = markers
 
     def __iter__(self):
         return iter(self._all)