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

Re: bug? svn.exe propset svn:executable "*" affects too may files on Windows

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 11 Jun 2015 17:41:59 +0200

On 11.06.2015 17:29, Bert Huijben wrote:
>
> Hi Jože,
>
>
>
> I know it can be worked around… I described that before. (And even
> disabled this feature on a few processes that don’t handle filenames,
> but still had this feature enabled)
>
>
>
> We try not to add too much Windows specific code to Subversion. (And
> only C; not C++)
>
> Our commandline handling is borrowed from APR, which provides our
> platform abstraction.
>

We explicitly link the setargv.obj library provided by MSVC to expand
wildcards on the command line. This doesn't really have anything to do
with APR. But there's no way to quote the * verbatim on Windows, as
there is with most Unix shells (single vs. double quotes).

We could theoretically implement our own, more Unix-like setargv; but
that would have other weird consequences, not the least being that it
would be incompatible with every other existing command-line tool on
Windows.

In any case, all Subversion properties with boolean values
(svn:executable, svn:needs-lock, etc.) are intentionally implemented so
that /any/ value you set will internally be converted to the asterisk.
We did this precisely because of Windows issues.

Just don't try to explicitly set a property value to '*' on the command
line, or use the -F option if you really must do it.

-- Brane
Received on 2015-06-11 17:42:59 CEST

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