Mercurial > hg
diff hgext/convert/p4.py @ 30600:d584c412c4a4
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'.
author | David Soria Parra <davidsp@fb.com> |
---|---|
date | Tue, 13 Dec 2016 21:49:58 -0800 |
parents | 902c89df94e3 |
children | d47a01bf0059 |
line wrap: on
line diff
--- 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 = {}