I'm trying to stop tracking changes to a subdirectory, so I followed these instructions and added the following to .\hg\hgrc:
[ui]
ignore = "C:\[...\myrepo]\.hg\.hgignore"
where that .hgignore contains
syntax: glob
[subdir]/**
But when I run hg status
, I get the following error:
skipping unreadable ignore file 'C:\[...\myrepo]\.hg\.hgignore"': invalid mode ('r') or filename
What does this error mean? And how can I fix it?
I got this error after I installed SourceTree. I removed
[ui]
ignore=
from the file mercurial.ini in my home directory (C:\Users\myusername) and that fixed it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With