> It could also be done by adding an include: syntax to .hgignore, which > might be more flexible and simpler? > IMO include is better (after all, then one can also include /etc/mercurial/hgignore for instance). To avoid specifying everything include <directory>/ should include everything in given dir.