# HG changeset patch # User David Soria Parra # Date 2016-12-14 09:43:47 # Node ID 364e14885cea9d0dccd892db4e6580d7abf4a155 # Parent fa2d2c8ac3981d77eafe41aaa8bcbd7a36e8e024 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. diff --git a/hgext/convert/p4.py b/hgext/convert/p4.py --- a/hgext/convert/p4.py +++ b/hgext/convert/p4.py @@ -56,7 +56,7 @@ class p4_source(common.converter_source) common.checktool('p4', abort=False) self.p4changes = {} - self.heads = {} + self.heads = [] self.changeset = {} self.files = {} self.copies = {}