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

Re: post-commit.bat 'svn update' issue on Windows

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-10 11:48:20 CET

On Feb 10, 2006, at 09:46, Claudio Di Lorenzo wrote:

> I'm struggling with the issue of not fireing post-commit.bat with
> "svn update" in it. It writes the Logfile, so it actually fires,
> but doesnt update the repository and writes nothing in the logfile.
>
> Here the code versions I've already tried:
>
> 1) "c:\program files\subversion\bin\svn" update "d:\gbase.test"
> > g:/tmpdir/subv.txt
> 2) d:
> cd gbase.test
> "c:\program files\subversion\bin\svn" update . > g:/tmpdir/
> subv.txt
> 3) d:
> cd gbase.test
> cd > g:/tmpdir/subv.txt
> "c:\program files\subversion\bin\svn" update . >> g:/tmpdir/
> subv.txt
> 4) c:\progra~1\subver~1\bin\svn.exe update d:\gbase.test > g:
> \tmpdir\subv.txt
>
> NOTHING WORKS!

So tho logfile gets created but there's nothing in it and the working
copy isn't updated? Sounds like maybe Subversion is outputting an
error message to stderr, but you're only capturing stdout to the
logfile. At least that's what I'd say if this were a Unix script. And
then I'd suggest to also redirect the error output to the logfile
with 2>&1 at the end of what you wrote. But I don't know if that's
how it works on Windows.

One reason for an error could be that the Subversion program doesn't
have permission to write files in that working copy. Does it?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 10 11:50:50 2006

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