search for: parsecheck_puppet

Displaying 1 result from an estimated 1 matches for "parsecheck_puppet".

2007 Apr 09
0
Mercurial commit hooks...
...n about svn commit hooks, as I really want to integrate that into my system - the only thing is, that I use Mercurial as my SCM system. So I was wondering if someone out there knows mercurial well enough to write a commit hook? I''ve tried myself, and came up with this: pretxncommit.parsecheck_puppet = hg log -v -r $HG_NODE | sed -n ''/ ^files:/{s/^.*: *//p;}'' | puppet --parseonly --ignoreimport $1 ...but I don''t know the variable to give mercurial; $HG_NODE doesn''t work. Anyone out there using mercurial...? -- Med venlig hilsen Juri Rischel Jensen Fab...