Thursday, 9 February 2012

Mercurial : Use Hooks to maintain list of binary files required but excluded

Use a precommit declared in the .hg/hgrc file of the local repository

Note - this is not retained in the repo and is individual to each mirror

[hooks]
precommit.001 = find `hg root`/bonecrushertest/src | egrep '\.tar\.gz$|\.rpm$|\.tgz' | tee `hg root`/bonecrushertest/src/manifest.txt

0 comments: