如何在日志中没有额外的"committer:"行的情况下转换为Mercurial?

ric*_*chq 2 git mercurial

将存储库从Git转换为Mercurial会导致每条日志消息中出现虚假的"committer:"行.我无法想出一种不生成这些的方法.如果我转换SVN存储库,则不会添加这些行.它似乎只是一个混蛋.

这很容易测试.这是Linux上的方法:

mkdir repo && cd repo
git init
echo hello > foo.txt
git add foo.txt
git commit -m"Initial import"
cd ..
hg convert repo
cd repo-hg
hg log -v
Run Code Online (Sandbox Code Playgroud)

日志会说这样的话:

changeset:   0:077135a87f99
tag:         tip
user:        Your Name <you@example.com>
date:        Mon Jan 01 12:04:46 2001 
files:       foo.txt
description:
Initial import

committer: Your Name <you@example.com>
Run Code Online (Sandbox Code Playgroud)

那么,我怎样才能避免冗余的"committer:"行呢?

Dus*_*tin 5

这是一个特定于git的东西,而hg convert正在添加它,因为hg无法表示这些信息.在git中,提交者和作者不必是同一个人(git,IMO的真正重要特征).

似乎没有任何具体的文档,它不是一个可配置的功能.我相信他们会愉快地接受补丁.:)