# HG changeset patch # User David Soria Parra # Date 1481708627 28800 # 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 -r fa2d2c8ac398 -r 364e14885cea hgext/convert/p4.py --- 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 = {}