On 12/7/16 9:30 PM, David Soria Parra wrote:
> # HG changeset patch
> # User David Soria Parra <davi...@fb.com>
> # Date 1480895549 28800
> #      Sun Dec 04 15:52:29 2016 -0800
> # Node ID ade3103f5cf939007ca73af5e9e5853643dc8264
> # Parent  48bf03a8f718f870256f79cbdf10550ca92c7f25
> [convert] Use convert_revision for P4 imports
This does not follow our naming scheme "keyword: some short description"
>
> 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 --git a/hgext/convert/p4.py b/hgext/convert/p4.py
> --- a/hgext/convert/p4.py
> +++ b/hgext/convert/p4.py
> @@ -151,7 +151,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 = {}
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to