> From: Simon Large [mailto:slarge@slarge.plus.com]
>
> What is the exact error message?
>
If I remove the spaces from my path I get this message (I still have double
quotes around the paths in my script):
directory or file C:\Projekt\WIST_new_ftp"
C:\Projekt\WIST_new_ftp\WISTControlCenter\AssemblyInfo_template.cs
C:\Projekt\WIST_new_ftp\WISTControlCenter\AssemblyInfo.cs does not exist
If I have spaces I get this:
SubWCRev reads the Subversion status of all files in a
working copy, excluding externals. Then the highest revision
number found is used to replace all occurrences of "$WCREV$"
in SrcVersionFile and the result is saved to DstVersionFile.
The commit date/time of the highest revision is used to replace
all occurrences of "$WCDATE$". The modification status is used
to replace all occurrences of "$WCMODS?TrueText:FalseText$" with
TrueText if there are local modifications, or FalseText if not.
usage: SubWCRev WorkingCopyPath [SrcVersionFile] [DstVersionFile] [-n|-d]
Params:
WorkingCopyPath : path to a Subversion working copy
SrcVersionFile : path to a template header file
DstVersionFile : path to where to save the resulting header file
-n : if given, then SubWCRev will error if the working
copy contains local modifications
-d : if given, then SubWCRev will only do its job if
DstVersionFile does not exist
This is my script:
@echo off
"%programfiles%\tortoisesvn\bin\subwcrev" "%1\"
"%2\AssemblyInfo_template.cs" "%2\AssemblyInfo.cs"
I've found a workaround that works for me - but maybe you can tell if I'm
doing something wrong or if there's something that might need some tweaking
in subwcrev.
Oh, my workaround looks like this:
pushd $(ProjectDir)
"%programfiles%\TortoiseSVN\bin\subwcrev.exe" .. AssemblyInfo_template.cs
AssemblyInfo.cs
popd
Best regards,
Johan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri May 27 13:02:38 2005