2009-08-11

Hg ignore for MonoDevelop Gtk# Projects

When using Hg (Mercurial) to do version control for Gtk# applications developed using MonoDevelop you'll want to create an .hgignore file in the root of your repository with the following contents:
syntax: glob
*/gtk-gui/*.cs
bin/Debug/*
*.userprefs
*.usertasks
*.pidb

This will make sure Hg ignores all the meta-data and temporary files created by MonoDevelop and its built in Gtk# GUI designer. Otherwise these files change constantly and either always appear as modified or, if commited, clog up the revision history.

0 comments:

Post a Comment