abort: no username supplied (see "hg help config")
尝试hg commit
在 Cygwin上使用时出现错误。我已经在我的 /users/username 目录中正确设置了 Mercurial.ini 文件(我在 Windows 7 上)。
使用hg showconfig --debug
返回以下内容:
read config from: /usr/etc/mercurial/hgrc
read config from: /etc/mercurial/hgrc
read config from: /home/Mark/.hgrc
因此,我假设因为我使用的是 Cygwin,它正在检查 Mercurial 配置文件,就好像我使用的是 Linux 一样。有没有其他人在使用 Mercurial 和 Cygwin 时遇到过这个问题?
如何让 Mercurial 签入配置文件的正确文件夹(再次在 Windows 7 上使用 Cygwin)?