Mercurial’s hgignore feature modifies which untracked files are detected for version control management. You can use this within the repository for your Luggage project to stop certain files from being picked up for management by Mercurial.
Within your project’s Hg repository, create a .hgignore file. Populate it with the following text in order to prevent Mercurial from warning you about “.DS_Store” files and builds of your packages or disk images. These are files you do not need to keep under version control.
If your package name contains other characters than those listed in the regular expression, then you will need to modify that pattern. As it stands, it should match package filenames that are primarily alphanumeric (with a few additional characters).