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

Re: TortoiseProc missing command line arguments

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 27 Feb 2012 20:27:01 +0100

On 27.02.2012 19:07, Hubsi wrote:
> 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)

Thanks.
Committed with slight modifications in r22605.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2927326
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-27 20:27:11 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.