Allow the fixwhite stuff to work when committing from a subdir
--HG-- extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91
This commit is contained in:
parent
85f9415a67
commit
552097b92e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue