Using the Yii PHP framework with Mercurial as version control.
Which files and directories should I ignore when putting my Yii webapp project under version control (i.e. what to put in .hgignore)?
One of the examples (for Git, but you can adapt it to Mercurial) recommends to ignore:
swp
– VIM swap files.buildpath
, .project
, .settings
– files and folders generated by Eclipse.idea
– folder generated by JetBrains PhpStormassets/*
– everything under assets are generated by Yii during runtimeruntime/*
– same goes to everything under runtime, we wouldn’t want to version control themprotected/data/*.db
– for sqlite users, stop version control sqlite databasesprotected/tests/report/*
– code coverage test report (Just started practising TDD, hence this)