summaryrefslogtreecommitdiff
path: root/util/style.py
diff options
context:
space:
mode:
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