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

shellext: fix hgtk command line

Changeset 0ca931587f68

Parent 444f3779122d

by Steve Borho

Changes to one file · Browse files at 0ca931587f68 Showing diff from parent 444f3779122d Diff from another changeset...

 
15
16
17
18
 
19
20
21
22
23
24
25
26
27
28
29
 
41
42
43
 
 
44
 
45
46
47
 
15
16
17
 
18
19
20
21
22
23
24
 
 
25
26
27
 
39
40
41
42
43
44
45
46
47
48
@@ -15,15 +15,13 @@
  TDEBUG_TRACE("DoHgProc: THG root is empty");   return;   } - std::string hgcmd = Quote(dir + "\\hgtk.exe ") + cmd; + std::string hgcmd = Quote(dir + "\\hgtk.exe") + " " + cmd;     std::string cwd;   std::string filelist;   if (!myFolder.empty())   {   cwd = myFolder; - filelist = GetHgRepoRoot(myFolder); - filelist += "\n";   }   else if (!myFiles.empty())   { @@ -41,7 +39,10 @@
  }     if ( !filelist.empty() ) + { + TDEBUG_TRACE("filelist: " << filelist);   hgcmd += " --listfile -"; + }     LaunchCommand(hgcmd, cwd, filelist);  }