Add new items to top.
(This summarizes all changes to all files under Src, including Src\Languages.)
+2007-02-01 Kimmo
+ Remove unused parameter from CMainFrame::SyncFileToVCS()
+ Src: FileActionScript.cpp MainFrm.cpp MainFrm.h
+
2007-02-01 WinMerge experimental release 2.7.1.6 (SVN revision 4094)
2007-02-01 Kimmo
return retVal;
// TODO: First param is not used!
- int nRetVal = GetMainFrame()->SyncFileToVCS(_T(""), path, bApplyToAll, &strErr);
+ int nRetVal = GetMainFrame()->SyncFileToVCS(path, bApplyToAll, &strErr);
if (nRetVal == -1)
{
retVal = SCRIPT_FAIL; // So we exit without file operations done
/**
* @brief Sync file to Version Control System
- * @param pszSrc [in] File to copy
* @param pszDest [in] Where to copy (incl. filename)
* @param bApplyToAll [in,out] Apply user selection to all items
* @param psError [out] Error string that can be shown to user in caller func
* @return User selection or -1 if error happened
* @sa CMainFrame::HandleReadonlySave()
* @sa CDirView::PerformActionList()
- * @todo Parameter @p pszSrc is ununsed.
*/
-int CMainFrame::SyncFileToVCS(LPCTSTR pszSrc, LPCTSTR pszDest,
- BOOL &bApplyToAll, CString *psError)
+int CMainFrame::SyncFileToVCS(LPCTSTR pszDest, BOOL &bApplyToAll,
+ CString *psError)
{
CString sActionError;
CString strSavePath(pszDest);
HMENU GetPrediffersSubmenu(HMENU mainMenu);
void UpdatePrediffersMenu();
- BOOL SyncFileToVCS(LPCTSTR pszSrc, LPCTSTR pszDest, BOOL &bApplyToAll,
- CString *psError);
+ BOOL SyncFileToVCS(LPCTSTR pszDest, BOOL &bApplyToAll, CString *psError);
BOOL DoFileOpen(LPCTSTR pszLeft = NULL, LPCTSTR pszRight = NULL,
DWORD dwLeftFlags = 0, DWORD dwRightFlags = 0, BOOL bRecurse = FALSE, CDirDoc *pDirDoc = NULL, CString prediffer = _T(""));
int ShowMergeDoc(CDirDoc * pDirDoc, const FileLocation & filelocLeft,