You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sebastian Bergmann <li...@sebastian-bergmann.de> on 2002/06/30 08:16:50 UTC
'svn diff' on Windows
I have diff and diff3 in the required location
C:\>dir "C:\Program Files\cygnus\cygwin\bin\"
Datenträger in Laufwerk C: ist Windows2K
Datenträgernummer: 7498-3CC2
Verzeichnis von C:\Program Files\cygnus\cygwin\bin
30.06.2002 10:10 <DIR> .
30.06.2002 10:10 <DIR> ..
06.04.2002 12:11 95.744 diff.exe
06.04.2002 12:11 25.088 diff3.exe
2 Datei(en) 120.832 Bytes
2 Verzeichnis(se), 4.430.688.256 Bytes frei
But 'svn diff' gives me
apr_error: #22503, src_err 0:
<Das System kann den angegebenen Pfad nicht finden.>
svn_io_run_cmd:
error starting c:\progra~1\cygnus\cygwin\bin\diff.exe process
I *believe* I didn't do anything wrong this time -- so what could be
the reason for this?
On a side note: why does the location for the diffutils need to be
hardcoded? I have diff.exe and diff3.exe in my PATH, and not everyone
installs cygwin to c:\program files\cygnus\cygwin\, or uses cygwin
versions of the tools in the first place.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: 'svn diff' on Windows
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
On mandag 15 juli 2002, 01.59, Sergey A. Lipnevich wrote:
> Hi,
>
> Just a quick note that diffutils-2.8.1 are available as part of
> GNUWin32 project at SF:
Someone are working on an internal diff at the moment.
The GNUWin32 diffs are made by MinGW but are depended on external libs
too (Intrenatiolation stuff).
I will include them in the Windows installer if they are faster than
Cygwin (they probably are), if it takes very long time before Subversion
have it's own diffs and if they works with Subversion.
Jostein
--
----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: 'svn diff' on Windows
Posted by "Sergey A. Lipnevich" <se...@pisem.net>.
Hi,
Just a quick note that diffutils-2.8.1 are available as part of GNUWin32
project at SF:
http://sourceforge.net/projects/gnuwin32/
http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=83227
http://prdownloads.sourceforge.net/gnuwin32/diffutils-2.8.1-bin.zip?download
I didn't try them because I don't have VC++ compiler and can't build
Subversion in Windows.
I missed almost four weeks while on vacation, and while reading old
messages I came across a couple of posts about diff. I hope this helps.
On a different note, there was a "my compliments" message from Peter
Davis. I just wanted to join him in saying "thank you, guys!" I'm amazed
by the product and by the team, and learn new things from the Subversion
inner workings and the list.
Didn't mean to distract you from Alpha ;-)... Thanks again!
Sergey.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: 'svn diff' on Windows
Posted by Sebastian Bergmann <li...@sebastian-bergmann.de>.
Hontvari Jozsef wrote:
> As you have no direct inluence on the short name, I would put the diff
> files into your actual progra~1 directory whatever its real name is :-)
I did this, sure. But it's still not a "generic" solution.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: 'svn diff' on Windows
Posted by Hontvari Jozsef <ho...@solware.com>.
From: "Sebastian Bergmann" <li...@sebastian-bergmann.de>
> It's progra~2.
I am not sure if you have noticed: based on the error message you received
it seems that the hard coded path is not c:\Program Files\... but the short
c:\progra~1\...
As you have no direct inluence on the short name, I would put the diff files
into your actual progra~1 directory whatever its real name is :-)
----- Original Message -----
From: "Sebastian Bergmann" <li...@sebastian-bergmann.de>
To: <de...@subversion.tigris.org>
Sent: Sunday, June 30, 2002 1:50 PM
Subject: Re: 'svn diff' on Windows
> Hontvari Jozsef wrote:
> > A tip: check if the short (DOS) name of your C:\Program Files directory
> > is progra~1 (and not progra~2 for example).
>
> It's progra~2.
>
> > The new patch - which looks for diff files in the subversion directory
> > first - will solve this anyway.
>
> Ah, good to know.
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/ http://phpOpenTracker.de/
>
> Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: 'svn diff' on Windows
Posted by Sebastian Bergmann <li...@sebastian-bergmann.de>.
Hontvari Jozsef wrote:
> A tip: check if the short (DOS) name of your C:\Program Files directory
> is progra~1 (and not progra~2 for example).
It's progra~2.
> The new patch - which looks for diff files in the subversion directory
> first - will solve this anyway.
Ah, good to know.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: 'svn diff' on Windows
Posted by Hontvari Jozsef <ho...@solware.com>.
A tip: check if the short (DOS) name of your C:\Program Files directory is
progra~1 (and not progra~2 for example).
The new patch - which looks for diff files in the subversion directory
first - will solve this anyway.
----- Original Message -----
From: "Sebastian Bergmann" <li...@sebastian-bergmann.de>
To: <de...@subversion.tigris.org>
Sent: Sunday, June 30, 2002 10:16 AM
Subject: 'svn diff' on Windows
> I have diff and diff3 in the required location
>
> C:\>dir "C:\Program Files\cygnus\cygwin\bin\"
> Datenträger in Laufwerk C: ist Windows2K
> Datenträgernummer: 7498-3CC2
>
> Verzeichnis von C:\Program Files\cygnus\cygwin\bin
>
> 30.06.2002 10:10 <DIR> .
> 30.06.2002 10:10 <DIR> ..
> 06.04.2002 12:11 95.744 diff.exe
> 06.04.2002 12:11 25.088 diff3.exe
> 2 Datei(en) 120.832 Bytes
> 2 Verzeichnis(se), 4.430.688.256 Bytes frei
>
> But 'svn diff' gives me
>
> apr_error: #22503, src_err 0:
> <Das System kann den angegebenen Pfad nicht finden.>
> svn_io_run_cmd:
> error starting c:\progra~1\cygnus\cygwin\bin\diff.exe process
>
> I *believe* I didn't do anything wrong this time -- so what could be
> the reason for this?
>
> On a side note: why does the location for the diffutils need to be
> hardcoded? I have diff.exe and diff3.exe in my PATH, and not everyone
> installs cygwin to c:\program files\cygnus\cygwin\, or uses cygwin
> versions of the tools in the first place.
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/ http://phpOpenTracker.de/
>
> Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org