【发布时间】:2012-07-19 07:54:49
【问题描述】:
我在 Cygwin 上尝试使用 hg commit 时收到 abort: no username supplied (see "hg help config") 错误。我已经在我的 /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 一样。有没有其他人在 Cygwin 中使用 Mercurial 时遇到过这个问题?
如何让 Mercurial 检入配置文件的正确文件夹(同样用于在 Windows 7 上使用 Cygwin)?
【问题讨论】:
标签: version-control windows-7 mercurial cygwin