Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

thgstrip: need to convert to/from local encoding

Changeset c379bc96509c

Parent 0f091aad132f

by Yuki KODAMA

Changes to one file · Browse files at c379bc96509c Showing diff from parent 0f091aad132f Diff from another changeset...

 
62
63
64
65
 
66
67
68
 
190
191
192
 
 
193
194
195
 
62
63
64
 
65
66
67
68
 
190
191
192
193
194
195
196
197
@@ -62,7 +62,7 @@
  tags.sort()   tags.reverse()   for tag in tags: - self.revcombo.append_text(tag) + self.revcombo.append_text(hglib.toutf(tag))     def createlabel():   label = gtk.Label() @@ -190,6 +190,8 @@
  revstr = self.revcombo.get_active_text()   if revstr is None or len(revstr) == 0:   return None + if isinstance(revstr, basestring): + revstr = hglib.fromutf(revstr)   try:   revnum = self.repo[revstr].rev()   except (error.RepoError, error.LookupError):