Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

hggtk/changeset: use util.localpath() to create safe path names

Changeset fbd4883d07c1

Parent e25af93c1354

by Steve Borho

Changes to 2 files · Browse files at fbd4883d07c1 Showing diff from parent e25af93c1354 Diff from another changeset...

 
595
596
597
598
 
 
599
600
601
 
595
596
597
 
598
599
600
601
602
@@ -595,7 +595,8 @@
  return True     def _save_file_rev(self, menuitem): - file, ext = os.path.splitext(os.path.basename(self.curfile)) + file = util.localpath(self.curfile) + file, ext = os.path.splitext(os.path.basename(file))   filename = "%s@%d%s" % (file, self.currev, ext)   fd = NativeSaveFileDialogWrapper(Title = "Save file to",   InitialDir=self.cwd,
Change 1 of 1 Show Entire File hggtk/​gdialog.py Stacked
 
485
486
487
 
488
489
490
 
485
486
487
488
489
490
491
@@ -485,6 +485,7 @@
  self._parse_config()   return   + file = util.localpath(file)   thread = threading.Thread(target=doedit, name='edit:'+file)   thread.setDaemon(True)   thread.start()