diff mercurial/changegroup.py @ 31613:4baf79a77afa

merge with stable
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 24 Mar 2017 08:37:26 -0700
parents 82f1ef8b4477 ed5b25874d99
children 282b288aa20c
line wrap: on
line diff
--- 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