<br>On Friday, 18 November 2011 09:02:51 UTC, Peng  Yu  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><p>Wouldn't this cause .hgignore be changed whenever there are any<br>additional symbolinks? It is less satisfactory if .hgignore always has<br>to be changed in this situation.<br></p></blockquote><div>You could use the 'find . -type l' command together with the ui.ignore setting (see hgrc(5)).  Put this in your ~/.hgrc file:<br><br>[ui]<br>ignore.symlinks = ~/.hgignoresymlinks<br><br>And run this command periodically:<br><br>find . -type l > ~/.hgignoresymlinks<br><br>That way the repo's .hgignore file is untouched.<br></div>