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

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

From: Claudio Di Lorenzo <C.DiLorenzo_at_intelliDESIGN-Berlin.com>
Date: 2006-02-12 01:01:59 CET

Thank's very much fpr your help!
 
The drive and folder exists and the user under which svnserve is started has
the necessary rights.
 
Well at least I know the english version of the error and will search for
it.
 
 
Claude

  _____

Von: Lieven Govaerts [mailto:lgo@mobsol.be]
Gesendet: Samstag, 11. Februar 2006 20:17
An: 'Claudio Di Lorenzo'; users@subversion.tigris.org
Betreff: RE: post-commit.bat 'svn update' issue on Windows

Claude,
 
 
the original english version of this error is: Error resolving case of
'd:\gbase.test' .
 
This error message is only used in one place in the code, and that's while
parsing the targets of the update, in this case 'd:\gbase.test'. The
situations this error can occur are:
- when the file is not found
- when a folder is not found
- when one of the subfolder or the drive is not found
 
Is "gbase.test" a file or a folder?
 
I tried to simulate this, and only got that same error when referring to a
non-existing drive (h:), or to a read-only drive like my cd-rom (d:) :
C:\devel\lgo\test>svn update blablabla
Skipped 'blablabla'
 
C:\devel\lgo\test>svn update h:\blablabla
svn: Error resolving case of 'h:\blablabla'

 
C:\devel\lgo\test>svn update d:\blablabla
svn: Error resolving case of 'h:\blablabla'
 
I'm not sure what this means. Maybe check if the user under which
apache/svnserve is started has the necessary rights to access that
folder/drive?
 
Maybe you can check the mailing list archive for the english error message?
I've seen some threads about svn not always working in batch files, but
didn't find a real solution.
 
Lieven.
 
 
  _____

From: Claudio Di Lorenzo [mailto:C.DiLorenzo@intelliDESIGN-Berlin.com]
Sent: zaterdag 11 februari 2006 18:56
To: 'Lieven Govaerts'; users@subversion.tigris.org
Subject: AW: post-commit.bat 'svn update' issue on Windows

Yes, it runs, but it fails.
 
When I run it from command-line it works fine without error.
 
The German original message is "Fehler beim Ermitteln der
Groß-/Kleinschreibung von 'd:\gbase.test'".
 
Claude

  _____

Von: Lieven Govaerts [mailto:lgo@mobsol.be]
Gesendet: Samstag, 11. Februar 2006 17:59
An: 'Claudio Di Lorenzo'; users@subversion.tigris.org
Betreff: RE: post-commit.bat 'svn update' issue on Windows

So that means the update is actually running, but it fails.
 
What if you run the exact action manually from the command-line, does it
give the same error message?
 
Can you give the german untranslated version of the error message?
 
Lieven.

  _____

From: Claudio Di Lorenzo [mailto:C.DiLorenzo@intelliDESIGN-Berlin.com]
Sent: zaterdag 11 februari 2006 17:28
To: users@subversion.tigris.org
Subject: AW: post-commit.bat 'svn update' issue on Windows

Well,
 
1) svn version 1.3.0
2) I tried some code in the post-commit.bat (see below)
3) OS = Windows 2003 Server
 
and when I try:
 
"c:\program files\subversion\bin\svn" update "d:\gbase.test" >
g:/tmpdir/subv.txt 2>&1
 
it actually writes the error in the log-file.
It says: (translated from German) "error while getting upper and lower case
of 'd:\gbase.test'"
but the cases are alright.
 
Claude

  _____

Von: Lieven Govaerts [mailto:lgo@mobsol.be]
Gesendet: Samstag, 11. Februar 2006 17:18
An: 'Claudio Di Lorenzo'
Betreff: RE: post-commit.bat 'svn update' issue on Windows

Well maybe you can give some more info then, svn version, your exact
post-commit.bat, os version, PATH ...
 
( send it to the list )
 
Lieven.

  _____

From: Claudio Di Lorenzo [mailto:C.DiLorenzo@intelliDESIGN-Berlin.com]
Sent: zaterdag 11 februari 2006 17:15
To: 'Lieven Govaerts'
Subject: AW: post-commit.bat 'svn update' issue on Windows

Hi Lieven,
 
Thank's for your help.
unfortunately it doesn't work for me in that way.
 
Claude

  _____

Von: Lieven Govaerts [mailto:lgo@mobsol.be]
Gesendet: Samstag, 11. Februar 2006 14:43
An: 'Claudio Di Lorenzo'; users@subversion.tigris.org
Betreff: RE: post-commit.bat 'svn update' issue on Windows

Claude,
 
I made a test with Subversion 1.3 on windows XP. My post-commit.bat file
only contains this line:
svn update C:\devel\lgo\test\repos\trunk >> c:\temp\test.txt
 
It seems to work fine.
 
I have the subversion bin folder in my PATH env. variable.
 
Lieven.
 
  _____

From: Claudio Di Lorenzo [mailto:C.DiLorenzo@intelliDESIGN-Berlin.com]
Sent: zaterdag 11 februari 2006 12:23
To: users@subversion.tigris.org
Subject: post-commit.bat 'svn update' issue on Windows

Hi there,
 
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!

Please help me out, it's really frustrating!
 
Best regards
Claude
Received on Sun Feb 12 01:03:11 2006

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