====== Mercurial ====== ===== .hgignore ===== Some handy ''.hgignore'' expressions: ==== Ignore Mac Files ==== Ignore ''.DS_Store'' and ''._*'' files: (^|/)\._[^/]+$ (^|/)\.DS_Store$ ==== NetBeans ==== These expressions exclude the directories ''build'', ''dist'' and ''nbproject/private''. Depending on your project setup, you may want to also exclude ''bin'', ''gen'', ''nbbuild'' or the complete ''nbproject'' directory. Only in the top directory, but not in subdirectories: ^build$ ^dist$ ^nbproject/private$ Only in the second level directory, but not in subdirectories: ^[^/]+/build$ ^[^/]+/dist$ ^[^/]+/nbproject/private$ In any direcotry: (^|/)build$ (^|/)dist$ (^|/)nbproject/private$ ==== Eclipse ==== If you don't want to check in the Eclipse project, but only the sources, yut add: ^.classpath$ ^.project$ ==== Version Control Backup Files ==== Version Control System produce backup files when doing irreversible changes. \.orig$ \.orig\..*$ \.chg\..*$ \.rej$ \.conflict\~$ {{tag>mercurial coding version_control programming}}