OSDN Git Service

Add rename delete revert repostatus command
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / SwitchCommand.cpp
index 3d675ea..f39b1aa 100644 (file)
@@ -20,7 +20,7 @@
 #include "SwitchCommand.h"\r
 \r
 #include "SwitchDlg.h"\r
-#include "SVNProgressDlg.h"\r
+//#include "SVNProgressDlg.h"\r
 #include "MessageBox.h"\r
 \r
 bool SwitchCommand::Execute()\r
@@ -30,6 +30,7 @@ bool SwitchCommand::Execute()
 \r
        if (dlg.DoModal() == IDOK)\r
        {\r
+#if 0\r
                CSVNProgressDlg progDlg;\r
                theApp.m_pMainWnd = &progDlg;\r
                progDlg.SetCommand(CSVNProgressDlg::SVNProgress_Switch);\r
@@ -40,6 +41,8 @@ bool SwitchCommand::Execute()
                progDlg.SetRevision(dlg.Revision);\r
                progDlg.DoModal();\r
                return !progDlg.DidErrorsOccur();\r
+#endif;\r
+               return true;\r
        }\r
        return false;\r
 }\r