On Thu, Jul 22, 2010 at 05:10:01PM +1000, dave b wrote:
> Perhaps if it is possible, svn on windows can use the posix api? - I
> don't know how that works :)
It doesn't work quite like that. Subversion uses APR (the apache
portable runtime) for portability. This means that file i/o, memory
handling, network access etc. is abstracted by APR. This means that,
to Subversion, every operating system looks the same. It also means
that Subversion can run on any platform supported by APR.
Now, we make exceptions to this in certain places, and call win32 APIs
directly. But to the best of my knowledge we only do so to work around
severe problems. For instance, we try to work around "access denied"
errors that happen when other applications have a file open which Subversion
wants to rename or delete -- another "feature" of Windows that would
otherwise cause Subversion to error out whenever the virus scanner
opens a working copy.
> The microsoft article linked a few mails back by Bob Archer states
> that using the posix api it is possible to have cased file-names and
It's likely that other applications that work with Subversion
on Windows would get confused if we did this. Other applications won't
be prepared to handle the files Subversion creates like this.
For instance, many Windows users run Subversion inside of Eclipse.
Eclipse will most likely not be prepared to handle these files after
Subversion creates them. And what about build systems people use?
And merge tools? And helper scripts?
Like windows application developers, most windows users also have
gotten used to the limitation and would not expect Subversion to treat
filenames differently than all the other applications on their system.
A hopefully unnecessary reminder is that most software people use on
Windows is proprietary which means they are relying on commercial
vendors to address issues like interoperability with Subversion.
So there is a lot of software that people cannot change to work with
case-sensitive filenames even if they wanted to. So what's the point
of Subversion doing it? It will be the odd one out, so most people would
rather live with case-insensitive filenames for reason of interoperability.
Also, it's not just a matter of adding code to Subversion.
Apparently the user has to install an optional component and make
a concious choice during installation of that component to make the
API work case-sensitively. That's another two big hurdles right there.
"Starting with Windows XP, the POSIX subsystem is not included as part
of standard Windows distributions and has been replaced by Interix."
Following the Interix link, we find:
"Case-sensitivity of the directory and file names is an optional choice
and can be selected by the user during the installation of Windows
Services for UNIX 3.5."
So we'd also need to write detailed documentation telling people how
they can enable the new and shiny case-sensitive filenames with Subversion
on Windows, and then manage complaints about where things fail to work as
expected and document all the corner-cases (especially regarding interaction
with other applications).
So, sorry, but this is just not worth supporting. It's more trouble
than it is worth.
Received on 2010-07-22 11:56:49 CEST