.hgignore symbolic links
zondo42 at gmail.com
Fri Nov 18 05:41:44 CST 2011
On Friday, 18 November 2011 09:02:51 UTC, Peng Yu wrote:
> Wouldn't this cause .hgignore be changed whenever there are any
> additional symbolinks? It is less satisfactory if .hgignore always has
> to be changed in this situation.
You could use the 'find . -type l' command together with the ui.ignore
setting (see hgrc(5)). Put this in your ~/.hgrc file:
ignore.symlinks = ~/.hgignoresymlinks
And run this command periodically:
find . -type l > ~/.hgignoresymlinks
That way the repo's .hgignore file is untouched.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mercurial