On 09/02/2010 02:34 PM, Carl Caum wrote:
On the wiki page 
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control, the SVN 
Pre-Commit Hook  script needs to be fixed to not check the syntax on files 
getting deleted.

The following line:
$SVNLOOK changed -t "$TXN" "$REPOS" | awk '{print $2}' | grep '\.pp$' | while 
read line

needs to be:
$SVNLOOK changed -t "$TXN" "$REPOS" | grep -v ^D | awk '{print $2}' | grep 
'\.pp$' | while read line

Sort of moot since the pre-commit was operational in the first place, there should be no syntax errors in any committed files...

I think there might be a problem or two with that pre-commit in other areas.

--
Joe McDonagh
AIM: YoosingYoonickz
IRC: joe-mac on freenode
"When the going gets weird, the weird turn pro."

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to