# HG changeset patch # User Yuki KODAMA <[email protected]> # Date 1258994216 -32400 # Branch stable # Node ID 486e7c1df9efa4c356960295b762a66717f49138 # Parent 2e9fe4b1a80b07c8de05e95ce1899f7a56a3a69a commit: fix encoding issue
Fixes #754
diff --git a/tortoisehg/hgtk/commit.py b/tortoisehg/hgtk/commit.py
--- a/tortoisehg/hgtk/commit.py
+++ b/tortoisehg/hgtk/commit.py
@@ -303,7 +303,7 @@
self.update_recent_committers()
committer = os.environ.get('HGUSER') or
self.repo.ui.config('ui', 'username')
if committer:
- self.update_recent_committers(committer)
+ self.update_recent_committers(hglib.toutf(committer))
self.committer_cbbox.set_active(0)
adv_hbox.pack_start(gtk.Label(_('Auto-includes:')), False, False, 2)
@@ -422,6 +422,7 @@
def update_recent_committers(self, name=None):
+ """ 'name' must be in UTF-8. """
if name is not None:
self._mru_committers.add(name)
self._mru_committers.compact()
@@ -947,7 +948,7 @@
self.refresh_complete()
return
- self.update_recent_committers(user)
+ self.update_recent_committers(hglib.toutf(user))
incs = hglib.fromutf(self.autoinc_entry.get_text())
self.opts['include'] = [i.strip() for i in incs.split(',') if
i.strip()]
autopush = self.autopush.get_active()
thg-kuy-stable_rev4974.patch
Description: Binary data
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
