diff options
-rw-r--r-- | util/style.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/style.py b/util/style.py index 1018e813c..1307f8728 100644 --- a/util/style.py +++ b/util/style.py @@ -103,7 +103,7 @@ def fixwhite(filename, fixonly=None): for i,line in enumerate(lines): if fixonly is None or i in fixonly: - line = fixwhite_line(line, tabsize) + line = fixwhite_line(line) print >>f, line, @@ -309,7 +309,7 @@ def do_check_style(ui, repo, *files, **args): fixonly.add(i) if fixonly: - if prompt(fname, fixonly): + if prompt(fname, fixwhite, fixonly): return True def do_check_format(ui, repo, **args): |