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

sync: PathsModel.safeUrl() returns local encoded strings

Closes #76

Changeset 509e5236103a

Parent 5b572e6333db

by Steve Borho

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

 
329
330
331
332
 
333
334
335
 
1078
1079
1080
1081
 
 
 
1082
1083
1084
 
329
330
331
 
332
333
334
335
 
1078
1079
1080
 
1081
1082
1083
1084
1085
1086
@@ -329,7 +329,7 @@
    def pathSelected(self, index):   path = index.model().realUrl(index) - self.setUrl(hglib.fromunicode(path)) + self.setUrl(path)   aliasindex = index.sibling(index.row(), 0)   alias = aliasindex.data(Qt.DisplayRole).toString()   self.curalias = hglib.fromunicode(alias) @@ -1078,7 +1078,9 @@
  self.rows = []   for alias, path in pathlist:   safepath = url.hidepassword(path) - self.rows.append([alias, safepath, path]) + ualias = hglib.tounicode(alias) + usafepath = hglib.tounicode(safepath) + self.rows.append([ualias, usafepath, path])     def rowCount(self, parent):   if parent.isValid():