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

Re: "TortoiseProc.exe /path:" doesn't understand relative paths (since 1.5.0?)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 20 Jul 2008 16:37:33 +0200

Kurt Pruenner wrote:
> floodway wrote:
>> When I use absolute path then it works fine, but with relative paths
>> working copy can be placed anywhere and any *.cmd file will work
>> properly.
>
> Use "%CD%" instead of "." in your batch file. That variable always
> resolves to the absolute path of the current directory...
>
> Relative paths don't work anymore because AFAIK SVN now changes the
> current directory to the directories it works in.
>

Since it was never documented that relative paths work, it was a pure
coincidence that it did in 1.4.
But since some people came to expect this from TortoiseProc, I've
committed a change to 1.5 which makes TortoiseProc work with relative
paths. It will be available in the next release (1.5.1). If you can't
wait, you can try a nightly build.

Stefan

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

Received on 2008-07-20 16:37:58 CEST

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.