[PATCH] Support MBCS for fspath() and checkcase()

Shun-ichi Goto shunichi.goto at gmail.com
Mon Jul 28 01:53:39 CDT 2008


# HG changeset patch
# User Shun-ichi GOTO <shunichi.goto at gmail.com>
# Date 1217227736 -32400
# Node ID f9a40d20d44e536aa8ce1818279cc07bdb15f53e
# Parent  1a9577da9d02a386526c6a6791d6d57f56b28126
Support MBCS for fspath() and checkcase().

diff -r 1a9577da9d02 -r f9a40d20d44e hgext/win32mbcs.py
--- a/hgext/win32mbcs.py	Fri Jul 25 20:47:04 2008 +0200
+++ b/hgext/win32mbcs.py	Mon Jul 28 15:48:56 2008 +0900
@@ -130,6 +130,8 @@
     os.makedirs = wrap(os.makedirs)
     util.endswithsep = wrap(util.endswithsep)
     util.splitpath = wrap(util.splitpath)
+    util.checkcase = wrap(util.checkcase)
+    util.fspath = wrap(util.fspath)
 
 def uninstall():
     # restore original functions.
@@ -142,6 +144,8 @@
     os.makedirs = unwrap(os.makedirs)
     util.endswithsep = unwrap(util.endswithsep)
     util.splitpath = unwrap(util.splitpath)
+    util.checkcase = unwrap(util.checkcase)
+    util.fspath = unwrap(util.fspath)
 
 
 def reposetup(ui, repo):


More information about the Mercurial-devel mailing list