OSDN Git Service

Fixed issue #185. "Can't find Super-project" when pathname include space.
[tortoisegit/TortoiseGitJp.git] / src / TortoiseShell / ContextMenu.cpp
index 5261b4c..c483382 100644 (file)
@@ -1516,8 +1516,9 @@ STDMETHODIMP CShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
                                svnCmd += _T(" /deletepathfile");\r
                                if(itemStatesFolder&ITEMIS_SUBMODULE)\r
                                {\r
-                                       svnCmd += _T(" /bkpath:");\r
+                                       svnCmd += _T(" /bkpath:\"");\r
                                        svnCmd += folder_;\r
+                                       svnCmd += _T("\"");\r
                                }\r
                                break;\r
                        case ShellMenuUpdateExt:\r
@@ -1528,8 +1529,9 @@ STDMETHODIMP CShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
                                svnCmd += _T(" /deletepathfile");\r
                                if(itemStatesFolder&ITEMIS_SUBMODULE)\r
                                {\r
-                                       svnCmd += _T(" /bkpath:");\r
+                                       svnCmd += _T(" /bkpath:\"");\r
                                        svnCmd += folder_;\r
+                                       svnCmd += _T("\"");\r
                                }\r
                                break;\r
                        case ShellMenuCommit:\r