Allow the fixwhite stuff to work when committing from a subdir

--HG--
extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91
This commit is contained in:
Nathan Binkert 2007-07-23 20:55:57 -07:00
parent 85f9415a67
commit 552097b92e

View 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