mercurial/changegroup.py
branchstable
changeset 31587 ed5b25874d99
parent 30743 2df983125d37
child 31608 4baf79a77afa
--- a/mercurial/changegroup.py	Mon Mar 20 04:36:55 2017 -0700
+++ b/mercurial/changegroup.py	Thu Mar 23 19:54:59 2017 -0700
@@ -293,7 +293,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