[PATCH 14 of 22] obsstore: do not convert markers to list in _all
Jun Wu
quark at fb.com
Sun Jun 4 19:59:26 EDT 2017
# HG changeset patch
# User Jun Wu <quark at 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
More information about the Mercurial-devel
mailing list