From 552097b92e37fb4c0fd27960afe0a03c02894f11 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 23 Jul 2007 20:55:57 -0700 Subject: [PATCH] Allow the fixwhite stuff to work when committing from a subdir --HG-- extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91 --- util/style.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2