search for: hg_node

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

Did you mean: sg_node
2007 Apr 09
0
Mercurial commit hooks...
...lly 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:IT ApS Vesterbrogade 50...