by
Changes to one file · Browse files at 71bd3c259272 Showing diff from parent 53031f2c8b6c 90dfe94db0a5 Diff from another changeset...
@@ -856,10 +856,11 @@
if (cmd == "thgstatus")
{
- std::string p = dir + "\\TortoiseHgOverlayServer.exe";
- LaunchCommand(Quote(p), cwd);
-
- Thgstatus::remove(cwd);
+ if (Thgstatus::remove(cwd) != 0)
+ {
+ std::string p = dir + "\\TortoiseHgOverlayServer.exe";
+ LaunchCommand(Quote(p), cwd);
+ }
InitStatus::check();
return;
}
|
Loading...