Mercurial Ignore File For Altium Designer

Following is an Mercurial ignore file for excluding the unnecessary files created by Altium Designer. The ignore files is written using regexp syntax. It only excludes files that are within a specified sub-directory within the repository. This is to stop the ignore file excluding other files with the same extension from other sections of the repository.

Where possible, the type of file excluded is commented beside each line, just incase you want to re-introduce the file for some reason.

Just copy and append the code below into the .hgignore file found in the root directory of your repository, and change <Altium root dir> to the directory of your choice (or delete <Altium root dir>/ so it will apply to the entire repo.