You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Schrom.Brian" <Br...@IGT.com> on 2003/03/13 21:28:29 UTC
external programs
Hello all,
My apologies if this has already been answered, I just haven't found it yet.
Whenever my svn client tries to invoke an external program (diff, diff3,
etc), Windows XP starts a process and runs the command, but drops the
parameters somewhere, so I get something similar to the following:
C:\cygwin\bin>svn diff
http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@13
http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@14
Index: gui/gui_lib.lib
===================================================================
Binary files gui/gui_lib.lib (revision 13) and gui/gui_lib.lib
(revision 14) differ
svn: Error calling external program
svn: d:\cygwin\bin\diff.exe returned 2
I'm using Windows XP with all the latest service packs and svn client
C:\cygwin\bin>svn --version
svn, version 0.19.0 (r5240)
compiled Mar 11 2003, 08:48:12
Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
I've put copies of diff.exe in in c:\cygwin\bin, but I don't think that I'm
having the C: vs D: drive problem, because the function is being invoked.
BTW, I'm really impressed with subversion so far. Keep up the excellent
work guys!
Does anyone have any ideas?
Thanks,
Brian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: external programs
Posted by Branko Čibej <br...@xbc.nu>.
Schrom.Brian wrote:
>Hello all,
>
>My apologies if this has already been answered, I just haven't found it yet.
>
>Whenever my svn client tries to invoke an external program (diff, diff3,
>etc), Windows XP starts a process and runs the command,
>
No, Subversion starts a process and runs the diff command, not Windows XP.
> but drops the
>parameters somewhere, so I get something similar to the following:
>
What do you mean, drops the parameters somewhere? You asked for a diff
between two directories, so that's what you're getting.
>C:\cygwin\bin>svn diff
>http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@13
>http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@14
>Index: gui/gui_lib.lib
>===================================================================
>Binary files gui/gui_lib.lib (revision 13) and gui/gui_lib.lib
>(revision 14) differ
>svn: Error calling external program
>svn: d:\cygwin\bin\diff.exe returned 2
>
This has nothing to do with "dropping parameters". GNU diff returns
error code 2 when it's given binary files to compare.
--
Brane Čibej <br...@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
Re: external programs
Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:
>"Schrom.Brian" <Br...@IGT.com> writes:
>
>
>
>>C:\cygwin\bin>svn diff
>>http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@13
>>http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@14
>>Index: gui/gui_lib.lib
>>===================================================================
>>Binary files gui/gui_lib.lib (revision 13) and gui/gui_lib.lib
>>(revision 14) differ
>>svn: Error calling external program
>>svn: d:\cygwin\bin\diff.exe returned 2
>>
>>
>
>What!? svn 0.19 shouldn't be calling external diff! Did you tell it
>to do so in your runtime config? It should be using its own internal
>diff library.
>
Given that his cygwin tools are installed on D:, he had to set those
runtime params for older versions of svn.
--
Brane Čibej <br...@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
Re: external programs
Posted by Ben Collins-Sussman <su...@collab.net>.
"Schrom.Brian" <Br...@IGT.com> writes:
> C:\cygwin\bin>svn diff
> http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@13
> http://fe406507.engineering.com:8080/svn/vstepper/branches/dev663@14
> Index: gui/gui_lib.lib
> ===================================================================
> Binary files gui/gui_lib.lib (revision 13) and gui/gui_lib.lib
> (revision 14) differ
> svn: Error calling external program
> svn: d:\cygwin\bin\diff.exe returned 2
What!? svn 0.19 shouldn't be calling external diff! Did you tell it
to do so in your runtime config? It should be using its own internal
diff library.
>
> I'm using Windows XP with all the latest service packs and svn client
>
> C:\cygwin\bin>svn --version
> svn, version 0.19.0 (r5240)
> compiled Mar 11 2003, 08:48:12
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org