<p>I have a local mercurial repository with some site-specific changes in it.  What I would like to do is set a couple files to be un-commitable so that they aren't automatically committed when I do an <code>hg commit</code> with no arguments.</p>

<p>Right now, I'm doing complicated things with <code>mq</code> and guards to achieve this, pushing and popping and selecting guards to prevent my changes (which are checked into an mq patch) from getting committed.</p>

<p>Is there an easier way to do this?  I'm sick of reading the help for all the <code>mq</code> commands every time I want to commit a change that doesn't include my site-specific changes.</p>

I would put those files in
```
.hgignore
```
and commit a "sample" form of those files so that they could be easily recreated for a new site when someone checks out your code.