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

SubWCRev path/case issue since v 1.71

From: Christophe De Wagter <dewagter_at_gmail.com>
Date: Mon, 14 Nov 2011 10:06:47 +0100

*Situation*:
-SubWCRev.exe (v1.7.1.22161) called from makefile:

svn.Makefile:
$(DIRVENDOR)/SVN/bin/SubWCRev.exe ./ ./svn.wcrev ./svn.Makefile

-include svn.Makefile

-Crosscompiler: AvrGcc + make.exe: WinAVR-20100110 (make based
on msys-1.0.dll version 1000.8.0.0)
-Windows XP Pro SP3

*Before installing 1.71:*
worked perfectly: would create svn.Makefile whatever the path

*Since:*
a) upgrading to 1.71
b) upgrading the repository to the new structure
c) updating subwcrev in $(DIRVENDOR) to the freshly installed v1.7.1.22161

*Still Works Fine:*
$(DIRVENDOR)/SVN/bin/SubWCRev.exe 'C:\Documents and
Settings\user\sourcecode' ./svn.wcrev ./svn.Makefile

*SubWCRev: 'C:\Documents and Settings\user\sourcecode'*
*Last committed at revision 1680*
*Updated to revision 1686*

*Problem: does not work anymore when called from make.exe!*
$(DIRVENDOR)/SVN/bin/SubWCRev.exe *./ *./build.wcrev ./build.h
*SubWCRev : E155007: 'C:\documents and settings\user\sourcecode' is not a
working copy*

*Problem description:*

GetFullPathName with parameter ("./") is transformed to a string with the
wrong case.
Subsequently
http://code.google.com/p/tortoisesvn/source/browse/trunk/src/SubWCRev/SubWCRev.cpp#812
returns
an error.

There seem to be 2 path styles. in this case they are not compatible.

Please note that $(DIRVENDOR)/SVN/bin/SubWCRev.exe *./ *./build.wcrev
./build.h *does *work fine when called from Windows-XP console:
C:\WINDOWS\system32\cmd.exe

*Other people with same problem:*

http://www.google.nl/search?gcx=c&ix=c2&sourceid=chrome&ie=UTF-8&q=SubWCRev+%3A+E155007%3A

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2877917

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-14 10:26:19 CET

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

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