Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

sync: clarify encodings in setUrl()

Changeset 578dfbf0b053

Parent 509e5236103a

by Steve Borho

Changes to one file · Browse files at 578dfbf0b053 Showing diff from parent 509e5236103a Diff from another changeset...

 
335
336
337
338
 
339
340
341
 
345
346
347
348
349
350
 
 
 
351
352
353
 
335
336
337
 
338
339
340
341
 
345
346
347
 
 
 
348
349
350
351
352
353
@@ -335,7 +335,7 @@
  self.curalias = hglib.fromunicode(alias)     def setUrl(self, newurl): - 'User has selected a new URL' + 'User has selected a new URL: newurl is expected in local encoding'   try:   user, host, port, folder, passwd, scheme = self.urlparse(newurl)   except TypeError: @@ -345,9 +345,9 @@
  if scheme == val:   self.schemecombo.setCurrentIndex(i)   break - self.hostentry.setText(host or '') - self.portentry.setText(port or '') - self.pathentry.setText(folder or '') + self.hostentry.setText(hglib.tounicode(host or '')) + self.portentry.setText(hglib.tounicode(port or '')) + self.pathentry.setText(hglib.tounicode(folder or ''))   self.curuser = user   self.curpw = passwd   self.updateInProgress = False