From 3c8cc170d21771f525132ad07e7a4e5d406bdbd2 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 10 Jan 2011 11:11:15 -0800 Subject: style: clean up style hook code a bit I've renamed the check_whitespace operation to check_style. You're going to need to change your .hg/hgrc file. While you're at it, add a pre-qrefresh hook please. --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index a3af75ffb..18ebea2af 100755 --- a/SConstruct +++ b/SConstruct @@ -177,8 +177,8 @@ or your personal .hgrc style = %s/util/style.py [hooks] -pretxncommit.style = python:style.check_whitespace -pre-qrefresh.style = python:style.check_whitespace +pretxncommit.style = python:style.check_style +pre-qrefresh.style = python:style.check_style """ % (main.root) mercurial_bin_not_found = """ -- cgit v1.2.3