Is there an ignore-on-commit option in mercurial?
问题 Is there any way to ignore changes to some files on a commit with mercurial? I've got a specific situation where we have a default oracle tnsnames.ora file that points to 127.0.0.1, but some developers will modify it to point to other systems, but we don't want to change the default file. In subversion, I've simple added this to the ignore-on-commit changelist. Is there a way of doing this in mercurial? 回答1: If the files you want to omit from the "hg commit" command are already "tracked", you