
Simple to do, first make your .hgignore file:
gedit .hgignore
Add to this some basic syntax
syntax: glob
*.obj
*.exe
*.avi
*.swf
public/videos/*
(basically here you're telling mercurial what file extensions and directories to ignore in your app's root directory)
Save & close the file, now when you do hg add . and hg commit it'll skip these files & directories and keep your repository clean storing only the things you need to worry about; the code.







