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

help with svn diff on windows

From: <michael.mills_at_prudential.com>
Date: 2003-01-28 16:43:41 CET

Hello,

I am having a problem doing a diff in svn on windows. I have other machines
configured in a similar way and am not having this problem. Any insight as
to how to rectify would be helpful. Below is a trace of the problem.
Since I cannot reproduce this problem on other machines, I suspect it is a
local config problem. I have not figured out how to fix the local config
though.

$ svn --version
svn, version 0.17.1 (r4503)
   compiled Jan 23 2003, 00:00:57

svnadmin create c:\\tmp\\svntst\\db

svn co file:///c:/tmp/svntst/db
cd db
vi HelloWorld.txt (add 1 line of text)
svn add HelloWorld.txt
svn commit -m Add Hello World
svn diff HelloWorld.txt (No output - file are same)
vi HelloWorld.txt (Add a new line)

$ svn diff HelloWorld.txt
Index: HelloWorld.txt
===================================================================
svn: The handle is invalid.
svn: svn_io_run_cmd: error setting c:\programs\cygwin\bin\diff.exe process
child outfile

Test diff.exe:
head -1 HelloWorld.txt xx

$ c:\\programs\\cygwin\\bin\\diff.exe HelloWorld.txt xx
2d1
 Line 2

commit the changes:

$ svn commit HelloWorld.txt -m updated
Sending HelloWorld.txt
Transmitting file data .
Committed revision 2.

Any insight as to how to fix this would be appreciated.

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:22:07 2006

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