I am looking to use nuget without committing the packages. I want to ignore in mercurial all packages subfolder that are located in the /packages/
folder, but I do not want to exclude the repositories.config
file located in the /packages/
folder.
How should I write the exclusion regex to do that?
Can't you just do this:
hg add packages/repositories.config
And then have this in your .hgignore file
syntax: glob
packages
?