From: Nathan Binkert Date: Tue, 24 Jul 2007 03:55:57 +0000 (-0700) Subject: Allow the fixwhite stuff to work when committing from a subdir X-Git-Tag: m5_2.0_beta4~279^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=552097b92e37fb4c0fd27960afe0a03c02894f11;p=gem5.git Allow the fixwhite stuff to work when committing from a subdir --HG-- extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91 --- 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