IGNORE FILES

# Mercurial Ignore File For Altium Designer

Article by:

## Contents

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 to the directory of your choice (or delete / so it will apply to the entire repo.

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39  #************************************************************************* #************************* ALTIUM IGNORE FILES *************************** #************************************************************************* # Files that should be included: # .SchDoc, .PcbDoc, .PrjPcbStructure (schematic compile info) # Backup Files /.*\.SchDoc.Zip$# Backup of schematics /.*\.PcbDoc.Zip$ # Backup of schematics /.*\.PrjPcb.Zip$# Backup of pcb project fle /.*\.PcbLib.Zip$ # Backup of pcb lib fle /.*\.SchLib.Zip$# Backup of sch lib fle # Preview Files /.*\.SchDocPreview$ /.*\.PcbDocPreview$/.*\.HarnessPreview$ /.*\.errPreview$/.*\.nsxPreview$ /.*\.TxtPreview$/.*\.txtPreview$ /.*\.BOMPreview$/.*\.CSVPreview$ # Reporting Files /.*\.LOG$/.*\.drc$ /.*\.html$# Report thats generated when a file is opened /.*\.htm$ # Report thats generated when a file is opened # Other Files /.*\.orig$/.*\.pcbdoc_viewstate$ # Viewstate of .pcbdoc file /.*\.pcblib_viewstate$# Viewstate of PCB library /.*\.REPPreview$ # Gerber preview file # Directories /.*?/?History/.* 

## Authors

### Geoffrey Hunter

Dude making stuff.