Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

cmenu: call hgtk instead of hgproc

Changeset 46833b990780

Parent bb3d6aaa0d40

by Simon Heimberg

Changes to one file · Browse files at 46833b990780 Showing diff from parent bb3d6aaa0d40 Diff from another changeset...

 
217
218
219
220
 
221
222
223
224
225
226
 
 
 
227
228
229
 
217
218
219
 
220
221
222
223
224
225
 
226
227
228
229
230
231
@@ -217,13 +217,15 @@
  else:   files.append(f)   self.fnames = files - gpopts = " --command %s " % hgcmd + gpopts = " %s" % hgcmd   if self.fnames:   fd, tmpfile = tempfile.mkstemp(prefix="tortoisehg_filelist_")   os.write(fd, "\n".join(self.fnames))   os.close(fd)   gpopts += " --listfile %s" % (shellquote(tmpfile)) - app_path = find_path("hgproc", get_prog_root(), '.EXE;.BAT') + app_path = find_path("hgtk", get_prog_root(), '.EXE;.BAT') + if not app_path: + app_path = find_path("hgtk", None, '.EXE;.BAT')   cmdline = shellquote(app_path) + gpopts   try:   import subprocess