[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

TortoiseProc missing command line arguments

From: Hubsi <zerokelvin_at_gmx.net>
Date: Mon, 27 Feb 2012 10:07:12 -0800 (PST)

I like the idea of using TortoiseProc.exe for simple scipting tasks which allow beginner users to see what will happen behind the scene and learn from it. Unfortunately some commands have very limited funtionality - e.g. it is impossible to programmatically set the necessary options to copy AND switch a working copy or to just switch it. Therefore I suggest the following three additions to the code:

File /trunk/src/TortoiseProc/Commands/CopyCommand.cpp (between Ln 47 and Ln 48):

    if (parser.HasKey(_T("switchaftercopy")))
    {
        doSwitch = TRUE;
    }

File: /trunk/src/TortoiseProc/Commands/SwitchCommand.cpp (between Ln 28 and Ln 29)

    if (parser.HasKey(_T("url")))
    {
    dlg.m_URL = parser.GetVal(_T("url"));
    }

File /trunk/src/TortoiseProc/SwitchDlg.cpp (between Ln 86 and Ln 87):

    if (m_URL != _T(""))
    {
    url = m_URL;
    }

PS: I would have liked to contibute this to the code base myself, but didn't manage to get through the fuzz of creating a user account with write access (apart from the fact that building the development environment would have been a huge task just for these small additions)

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2927308

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-27 19:13:38 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.