Allow the fixwhite stuff to work when committing from a subdir
authorNathan Binkert <nate@binkert.org>
Tue, 24 Jul 2007 03:55:57 +0000 (20:55 -0700)
committerNathan Binkert <nate@binkert.org>
Tue, 24 Jul 2007 03:55:57 +0000 (20:55 -0700)
--HG--
extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91

util/style.py

index b5e9e142e5017da96220bf0d44510c80c262436d..2512d69205f79feee34c7814a1df14f7eab4293f 100644 (file)
@@ -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