bool bAutoCreateTargetName = m_bAutoCreateTargetName;\r
m_bAutoCreateTargetName = false;\r
\r
- m_URLCombo.SaveHistory();\r
- m_URL = m_URLCombo.GetString();\r
+// m_URLCombo.SaveHistory();\r
+// m_URL = m_URLCombo.GetString();\r
\r
\r
UpdateData(FALSE);\r
// directory from the browse folder, then restore the local values into the\r
// dialog controls.\r
//\r
- CBrowseFolder browseFolder;\r
- browseFolder.m_style = BIF_EDITBOX | BIF_NEWDIALOGSTYLE | BIF_RETURNFSANCESTORS | BIF_RETURNONLYFSDIRS;\r
- CString strCheckoutDirectory = m_strExportDirectory;\r
- if (browseFolder.Show(GetSafeHwnd(), strCheckoutDirectory) == CBrowseFolder::OK) \r
+ this->UpdateRevsionName();\r
+ CFileDialog dlg(FALSE,_T("Zip"),this->m_VersionName,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,\r
+ _T("*.Zip"));\r
+ \r
+ if(dlg.DoModal()==IDOK)\r
{\r
UpdateData(TRUE);\r
- m_strExportDirectory = strCheckoutDirectory;\r
- m_sExportDirOrig = m_strExportDirectory;\r
- m_bAutoCreateTargetName = !PathIsDirectoryEmpty(m_sExportDirOrig);\r
+ m_strExportDirectory = dlg.GetPathName();\r
UpdateData(FALSE);\r
}\r
}\r
<DebugSettings\r
Command="$(TargetPath)"\r
WorkingDirectory="D:\Profiles\b20596\tortoisegit"\r
- CommandArguments="/command:switch /path:"D:\\Profiles\\b20596\\buildtest\\TortoiseGit""\r
+ CommandArguments="/command:export /path:"D:\\Profiles\\b20596\\buildtest\\TortoiseGit""\r
Attach="false"\r
DebuggerType="3"\r
Remote="1"\r