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

Re: Feature for the small portmonee

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 20 Mar 2008 22:37:35 +0100

First of all I'm sorry about your mails not getting through to the list.
The moderation currently doesn't work, which means you must be
subscribed to the list for your mails to arrive.
I have no estimate yet when this will be fixed, but the tigris guys are
working on it (at least so I'm told).

> as an experienced developer first of all congratulation for that
> stable and very useful software.
> I want to issue a feature request that is necessary for a simple but
> elegant Tortoise integration in VS2003/2005/2008.
> The Integration in VS 2003/2005/2008 is possible with the following
> steps:
> Open the menu "external tools" from "Tools" in main menu.
> In the dialog add a new entry with the items as shown in pic1.jpg.
> Open from the menu "Tools" the item "SVN Browser".
> With these steps you can use the Tortoise SVN perfectly in VS. When
> you open a solution and you want to browse the solution directory in
> the repository via the "SVN Browser", the variable "$(SolutionDir)"
> gives the exact the base directory for your solution. No explorer is
> needed to grab the right path etc.
> A nice idea right, but unfortunately there is a bug in
> VS2003/2005/2008. This bug leads to a malformed path string returned
> from VS in "$(SolutionDir)". In the path string is a character
> appended that leads to the malformed path that Tortoise SVN (V1.4.8)
> cannot process. So you have to open the explorer again and grab the
> right path, damned.

I've googled for "VS 2005 SolutionDir" but found no indication that
there is a bug. Also I've never seen that $(SolutionDir) or any other
path variable would get an extra character appended.
What's the character that get's appended for you?

Note: I have a custom toolbar in my VS2008 with several TSVN commands,
most of them using the $(SolutionDir) variable and never had such problems.

> No problem at all because we have an OpenSource - Project. All I've
> done is to integrate a small line of code as a workaround until MS has
> fixed the problem in VS. Here are the lines of code you need:
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> BEGIN CODE INSERT /////////////////////////////////////////////
> // remove wrong trailing char '"' when Visual Studio vars ($
> (ProjectDir) etc.) are used
> sPathArgument.Remove('"');
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> END CODE INSERT /////////////////////////////////////////////

Please use TSVN to create a patchfile with your changes.

> It would be a big help when this workaround could be added to the
> repository of TortoiseProc, so I dont have to patch this all the time
> I update my local copy of TSN. By the way MS will probably solve the
> problem not before 2010 ;-).

Since I don't have this problem, can you maybe tell us what command line
you're using for your custom tool commands?

(oh, and please first subscribe to the list: as I said the moderation
doesn't work right now so unless you subscribe, your mails won't arrive
on the list).


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-20 22:38:07 CET

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

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