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

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

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-09-01 21:47:04 CEST

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
Received on Thu Sep 1 21:49:14 2005

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

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