You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by th...@freenet.de on 2005/09/01 15:53:08 UTC

svn propset -R does not behave correctly on windows

- or at least not as i expect it.

I have a working copy with subfolders. In one of the subfolders is a.vbs file, say xyz.vbs, in the 'root' folder of the working copy is NO.vbs file.

I do svn pset -R "svn:keywords" "Date Revision Author"  r:\myworkingcopy\*.vbs

What i get is an error message:
"svn: Kann Pfad 'R:\EvoPro\Clarina2Reader\*.c' nicht prüfen: DieSyntax für den Dateinamen, Verzeichnisnamen oder dieDatenträgerbezeichnung ist falsch.  

(approximate translation: Cannot check path blabla: The Syntax for the Filename, Foldername or Drivename is wrong )

What i expect is that svn iterates through the subfolders and sets the property on all .vbs files that if finds.Is this an issue?

regards, Thomas

it's svn ver 1.2.1 (r15230) 

1 Million Singles in Ihrer Nahe. Finden Sie Ihren Traumpartner
bei Deutschlands beliebtester Partnerboerse:
http://singles.freenet.de/index.html?pid=11512

Re: svn propset -R does not behave correctly on windows

Posted by Branko Čibej <br...@xbc.nu>.
thomas_steinkamp@freenet.de wrote:

>- or at least not as i expect it.
>
>I have a working copy with subfolders. In one of the subfolders is a.vbs file, say xyz.vbs, in the 'root' folder of the working copy is NO.vbs file.
>
>I do svn pset -R "svn:keywords" "Date Revision Author"  r:\myworkingcopy\*.vbs
>
>What i get is an error message:
>"svn: Kann Pfad 'R:\EvoPro\Clarina2Reader\*.c' nicht prüfen: DieSyntax für den Dateinamen, Verzeichnisnamen oder dieDatenträgerbezeichnung ist falsch.  
>
>(approximate translation: Cannot check path blabla: The Syntax for the Filename, Foldername or Drivename is wrong )
>
>What i expect is that svn iterates through the subfolders and sets the property on all .vbs files that if finds.Is this an issue?
>  
>
Your expectations are wrong. Subversion expects the wildcard to be 
expanded by the shell (on Unix) or by the program argument setup code 
(on Windows) -- in any case, before Subversion-proper sees the argument 
list. Since you seem not to have any *.vbs (or was it actually *.c? :) 
files in the root of your working copy, wildcard expansion fails and the 
asterisk finds its way into the program arguments. Files with an 
asterisk in the name are forbidden on Windows, hence the error message.

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org