# HG changeset patch
# User Jun Wu <qu...@fb.com>
# Date 1496596958 25200
#      Sun Jun 04 10:22:38 2017 -0700
# Node ID 31f6eafaf9ce5d4ac95ce289735b8f4ae692e4ae
# Parent  a159006b556c924bc0b9cb01c251574b44383063
# Available At https://bitbucket.org/quark-zju/hg-draft
#              hg pull https://bitbucket.org/quark-zju/hg-draft -r 31f6eafaf9ce
obsstore: do not convert markers to list in _all

_readmarkers now returns a list directly.

diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -709,5 +709,4 @@ class obsstore(object):
             return []
         self._version, markers = _readmarkers(data)
-        markers = list(markers)
         _checkinvalidmarkers(markers)
         return markers
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to