Ignoring changed files

Chui Tey teyc at cognoware.com
Fri Dec 1 12:30:10 UTC 2006


Hi all,

Sometimes changesets get in the way when local configuration files have to
be tweaked. 
For example, the repository has a file

config.php

After cloning the repository locally, I had to adjust the config.php. Now I
don't want to commit the changes in this file. 

Unfortunately, adding it to .hgignore doesn't seem to help.

syntax: glob
config.php

hg commit 

still applies changes to repository.

What should I do here?

Thanks.

Chui




More information about the Mercurial mailing list