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

Re: logging: are we there yet?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-28 07:12:31 CEST

Branko Čibej wrote:

> But all that aside: we've been through this discussion at least twice in
> the last several weeks.

The confusion here is around the definition of "portable". Subversion
uses APR as a portability layer. As we have discussed many times in the
past, "portable" does not mean "behaves identically on every OS". It
means, "behaves similarly on every OS, but does what is appropriate for
the OS".

We have many examples:

   * paths are printed with '/' separators on unix and with `\' on windows.

   * the per-user runtime config file lives in ~/.subversion/ on unix,
and in %APPDATA%\Subversion\ on Windows. (Or even in the windows registry!)

   * svnserve calls fork() on unix to create child processes, and a
completely different sort of Process-creation call on Windows.

The entire point of APR is to use native OS facilities whenever
possible, but to 'abstract' the interface. The application is spared
the details, and APR does the OS-specific work. We're simply proposing
adding another API to APR: a function which "sends a message to the
OS's logging facility".

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 28 07:13:12 2005

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.