Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable rename: do not perform fromunicode() twice on paths (fixes #311)

Changeset ae58600a06f0

Parent 5dab403af0d3

by Steve Borho

Changes to one file · Browse files at ae58600a06f0 Showing diff from parent 5dab403af0d3 Diff from another changeset...

 
223
224
225
 
226
227
228
 
231
232
233
234
235
 
 
236
237
238
 
223
224
225
226
227
228
229
 
232
233
234
 
 
235
236
237
238
239
@@ -223,6 +223,7 @@
  return (fullsrc.upper() == fulldest.upper() and sys.platform == 'win32')     def compose_command(self, src, dest): + 'src and dest are expected to be in local encoding'   if self.copy_chk.isChecked():   cmdline = ['copy']   else: @@ -231,8 +232,8 @@
  cmdline.append('-v')   if self.isCaseFoldingOnWin():   cmdline.append('-A') - cmdline.append(hglib.fromunicode(src)) - cmdline.append(hglib.fromunicode(dest)) + cmdline.append(src) + cmdline.append(dest)   vcmdline = ' '.join(['hg'] + cmdline)   return (cmdline, vcmdline)