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

Re: getting an error when trying to run svn log

From: Dominic Anello <danello_at_danky.com>
Date: 2004-03-18 19:21:12 CET

On 2004-03-18 10:40:44 -0600, Reagan Penner wrote:
> I am running this on a windows machine however, I am executing the
> command from within a tcl script and running the tcl script from a
> cygwin shell. I have tried using a tclsh from within a dos prompt but
> the problem occurs there as well.
>
> I am basically looping through a whole bunch of files and doing a svn
> log on each one. The weird thing is that the majority seem to succeed
> but some about 40% seem to fail.
>
> thanks ............ Reagan Penner

Just use forward slashes in your scripts, Windows svn understands them
and seems to convert them internally. Then you don't have worry about
backslashes. This works with both absolute and relative paths.

Example from a cygwin prompt:

[danello@danello2k2]
~/src/branches/ec-4.3.0.0/java
$ svn log D:/src/branches/ec-4.3.0.0/java/src/com/idx/ec/Version.java
------------------------------------------------------------------------
r757 | danello | 2004-03-08 10:39:58 -0500 (Mon, 08 Mar 2004) | 5 lines
...

-or-

[danello@danello2k2]
~/src/branches/ec-4.3.0.0/java
$ svn log src/com/idx/ec/Version.java

-- 
So, I've made peace with the falling leaves. I see their same fate in
my own body. But I won't be frightened when I am awoken from this dream
and returned to that which gave birth to me. 
    -Bright Eyes, "Method Acting"

  • application/pgp-signature attachment: stored
Received on Thu Mar 18 19:21:31 2004

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

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