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

Re: svn windows setup english windows only?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-08-23 19:48:28 CEST

cmpilato@collab.net wrote:

>"Barry Scott" <barry.alan.scott@ntlworld.com> writes:
>
>
>
>>Am I right in believing that the windows setup for SVN will only work
>>on english windows systems?
>>
>>I think this because of the hard coded path to diff.exe and diff3.exe.
>>
>> c:\progra~1\cygnus\cygwin\bin\diff.exe
>>
>>It assumes 3 things that are not required to be true on a windows
>>system:
>>

Nope, it assumes none of those things. It only assumes that you have a
C: drive (which you always do), and that you can create a
c:\progra~1\cygnus\cygwin\bin directory, which you mostly can.

But I agree it's a pain in the etcetera. It's on my list of things to fix.

>[...]
>
>Quite honestly, Barry, I've never understood why we have a full path
>to diff and diff3 *at all* in our code. Surely we can have APR launch
>subprocesses which can take both absolute and relative paths!
>
>On Unix, I understand that we let configure find the versions of these
>programs that are known to work with Subversion's use-cases. So fine,
>we get absolute paths for those.
>
>But why aren't the windows .hw files set up to just have "diff.exe"
>and "diff3.exe" for those #defines? We don't (to my knowledge) do any
>checks for the validity of those programs on Windows anyway. We just
>have to tell folks that those programs have to be in their %PATH% in
>order for Subversion to use them, unless they compile their own
>Subversion with the (accurate) full path to their diff/diff3 programs
>in the header file.
>
>

We don't use APR_PROGRAM_PATH for diff and diff3, and you know very well
why not. And there's an issue about that, IIRC, so that the program
locations could be set in the config file.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 23 19:49:06 2002

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

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