[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: Thu, 01 Mar 2012 20:08:01 +0100

On 29.02.2012 14:12, Hubsi wrote:
> By default the switch dialog prepopulates both IDC_SRCURL and IDC_DESTURL with the current location within the repository. The destination is then updated based on the user selection with CSwitchDlg::OnCbnEditchangeUrlcombo()
>
> When presetting the destination with the command line based on the just added functionality, the varable url contains the destination, and subsequently the initialization of the user interface in Ln 102 and Ln 103 both shows the destination url.
>
> Using GetURLFromPath was my initial idea - but I am not familiar with the various escaping functions used with svn path variables. But I guess now the following would do it:
>
> SetDlgItemText(IDC_SRCURL, CTSVNPath(svn.GetURLFromPath(svnPath)).Get​UIPathString());
>
> Otherwise it might be more well-arranged using different variable names for srcurl and desturl in the code...

Should be fixed as of r22607.

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=2928519
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-01 20:08:10 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.