merge with stable
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 24 Mar 2017 08:37:26 -0700
changeset 31613 4baf79a77afa
parent 31612 aea8ec3f7dd1 (current diff)
parent 30892 ed5b25874d99 (diff)
child 31614 8e516f71577a
merge with stable
mercurial/changegroup.py
--- a/mercurial/changegroup.py	Sun Mar 19 01:47:56 2017 -0400
+++ b/mercurial/changegroup.py	Fri Mar 24 08:37:26 2017 -0700
@@ -294,7 +294,7 @@
                 # will not see an inconsistent view
                 cl = repo.changelog
                 cl.delayupdate(tr)
-                oldheads = cl.heads()
+                oldheads = set(cl.heads())
 
                 trp = weakref.proxy(tr)
                 # pull off the changeset group