[PATCH] convert: add config option to control saving Git committer in message

Mike Hommey mh at glandium.org
Fri Jan 6 17:51:21 EST 2017


On Fri, Jan 06, 2017 at 11:36:32AM -0800, Sean Farley wrote:
> Gregory Szorc <gregory.szorc at gmail.com> writes:
> 
> > # HG changeset patch
> > # User Gregory Szorc <gregory.szorc at gmail.com>
> > # Date 1483729033 28800
> > #      Fri Jan 06 10:57:13 2017 -0800
> > # Node ID 1901566ab484a56b177b88ff080d635840e0912c
> > # Parent  3de9df6ee5bf7601aa3870f18304bbeb3ce351af
> > convert: add config option to control saving Git committer in message
> >
> > As part of converting a Git repository to Mercurial at Mozilla, I
> > encountered a scenario where I didn't want `hg convert` to
> > automatically add the "committer: <committer>" line to commit messages.
> > While I can hack around it downstream by rewriting the Git commit
> > before feeding it into `hg convert`, I'd prefer to just specify a
> > config flag to turn it off. This patch adds that flag.
> 
> I'm fine with this as-is but what about maybe storing it in the
> metadata? Just a thought.

... like hg-git does.

Mike


More information about the Mercurial-devel mailing list