convert: self.heads is a list
self.heads is used as a list throughout convert and never a dictionary.
Initialize it correctly to a list.
--- a/hgext/convert/p4.py Tue Dec 13 21:49:58 2016 -0800
+++ b/hgext/convert/p4.py Wed Dec 14 01:43:47 2016 -0800
@@ -56,7 +56,7 @@
common.checktool('p4', abort=False)
self.p4changes = {}
- self.heads = {}
+ self.heads = []
self.changeset = {}
self.files = {}
self.copies = {}