summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-01-10 11:11:15 -0800
committerNathan Binkert <nate@binkert.org>2011-01-10 11:11:15 -0800
commit3c8cc170d21771f525132ad07e7a4e5d406bdbd2 (patch)
tree9680f71c5b7d345bd47963fcb4fb4c307c428b43 /SConstruct
parentae7e67f3344e17856cb6d2a03ac61fd3161fa939 (diff)
downloadgem5-3c8cc170d21771f525132ad07e7a4e5d406bdbd2.tar.xz
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.
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct4
1 files changed, 2 insertions, 2 deletions
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 = """