运行 Hg config —— edit(在 Linux Debian和 窗户上在 Hg3.1中测试)
它将创建(如果不存在)并打开一个包含文本的文件:
# example config (see "hg help config" for more info)
[ui]
# name and email, e.g.
# username = Jane Doe <jdoe@example.com>
username =
[extensions]
# uncomment these lines to enable some popular extensions
# (see "hg help extensions" for more info)
# pager =
# progress =
# color =