【发布时间】:2014-10-02 14:04:44
【问题描述】:
我正在尝试停止跟踪对子目录的更改,因此我 followed these instructions 并将以下内容添加到 .\hg\hgrc:
[ui]
ignore = "C:\[...\myrepo]\.hg\.hgignore"
.hgignore 包含的位置
syntax: glob
[subdir]/**
但是当我运行hg status 时,我收到以下错误:
skipping unreadable ignore file 'C:\[...\myrepo]\.hg\.hgignore"': invalid mode ('r') or filename
这个错误是什么意思?我该如何解决?
【问题讨论】:
-
这两行是
.hgignore文件中的唯一内容吗?如果您查看空格,是否有任何多余的字符? -
还有
*.xxx和**/bin/*格式的行。每行以 CR-LF 结尾。
标签: mercurial