# HG changeset patch # User David Soria Parra # Date 1481694598 28800 # Node ID d584c412c4a4ef99f37ce32cd52196d00b7b3887 # Parent 902c89df94e3c1c1b90487e123be3eb12f2e4d0a convert: use convert_revision for P4 imports We are using convert_revisions in other importers. In order to unify this we are also using convert_revision for Perforce in addition to the original 'p4'. diff -r 902c89df94e3 -r d584c412c4a4 hgext/convert/p4.py --- a/hgext/convert/p4.py Wed Dec 14 01:45:17 2016 -0800 +++ b/hgext/convert/p4.py Tue Dec 13 21:49:58 2016 -0800 @@ -150,7 +150,7 @@ c = common.commit(author=self.recode(d["user"]), date=util.datestr(date, '%Y-%m-%d %H:%M:%S %1%2'), parents=parents, desc=desc, branch=None, - extra={"p4": change}) + extra={"p4": change, "convert_revision": change}) files = [] copies = {}