summaryrefslogtreecommitdiff
path: root/util/style.py
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2007-07-23 20:55:57 -0700
committerNathan Binkert <nate@binkert.org>2007-07-23 20:55:57 -0700
commit552097b92e37fb4c0fd27960afe0a03c02894f11 (patch)
treee965b69abf4d59e62647af46afa2239e9afe5999 /util/style.py
parent85f9415a67f3f3b54a615c2e29576235d11428f3 (diff)
downloadgem5-552097b92e37fb4c0fd27960afe0a03c02894f11.tar.xz
Allow the fixwhite stuff to work when committing from a subdir
--HG-- extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91
Diffstat (limited to 'util/style.py')
-rw-r--r--util/style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/style.py b/util/style.py
index b5e9e142e..2512d6920 100644
--- a/util/style.py
+++ b/util/style.py
@@ -260,7 +260,7 @@ def check_whitespace(ui, repo, hooktype, node, parent1, parent2):
elif result == 'i':
pass
elif result == 'f':
- fixwhite(name, tabsize, fixonly)
+ fixwhite(repo.wjoin(name), tabsize, fixonly)
else:
raise RepoError, "Invalid response: '%s'" % result