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

Re: Recursive client operations not intuitive

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-07-31 23:09:06 CEST

Branko Čibej wrote:

> Norbert Unterberg wrote:
>
>> Subversion already behaves different in this respect, I belive. On
>> Unix, the wildcards are expanded very early during processing (by the
>> shell). That means the wildcard will not be applied on files in
>> subdirecotries. On Windows, on the other hand, the wildcards seem to
>> expand in a very late state, while walking recursively through the
>> directory tree.
>>
> No. On Windows, the wildcards are expanded by the C runtime library
> before main() is called, so the net effect is the same as if the shell
> had expanded them.

Maybe I should elaborate a bit here. There _is_ a difference between
Unix and Windows with regard to argument expansion: on Unix, you can
tell the shell not to expand wildcards by using appropriate quoting.
That won't work on Windows, because the C runtime's wildcard expansion
ignores quotes -- and anyway, the Windows shell only recognises one kind
of quote -- unlike Unix shells that tend to use about 15 different
quoting styles, with roughtly 42 different meanings, depending on how
you combine them. :-)

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 31 23:10:12 2004

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

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