[PATCH] win32mbcs: util.normpath should be wrapped

Shun-ichi Goto shunichi.goto at gmail.com
Fri Sep 18 07:32:23 CDT 2009


# HG changeset patch
# User Shun-ichi GOTO <shunichi.goto at gmail.com>
# Date 1253276747 -32400
# Node ID da8fe4c2af27a2f1dbda1d86a9f333017f811294
# Parent  22315a285d3b0cf8eecf7235bf7e60c17b4f7bec
win32mbcs: util.normpath should be wrapped.

It is because util.normpath() finally calls windows.pconvert()
which is not wrapped (by changeset:25c41ddb3978).

diff -r 22315a285d3b -r da8fe4c2af27 hgext/win32mbcs.py
--- a/hgext/win32mbcs.py	Fri Sep 18 15:06:45 2009 +0900
+++ b/hgext/win32mbcs.py	Fri Sep 18 21:25:47 2009 +0900
@@ -123,7 +123,7 @@
 funcs = '''os.path.join os.path.split os.path.splitext
  os.path.splitunc os.path.normpath os.path.normcase os.makedirs
  mercurial.util.endswithsep mercurial.util.splitpath mercurial.util.checkcase
- mercurial.util.fspath mercurial.util.pconvert'''
+ mercurial.util.fspath mercurial.util.pconvert mercurial.util.normpath'''
 
 # codec and alias names of sjis and big5 to be faked.
 problematic_encodings = '''big5 big5-tw csbig5 big5hkscs big5-hkscs


More information about the Mercurial-devel mailing list