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

Re: A proposed solution for svn admin directory names

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-07-12 16:49:57 CEST

Charles Bailey wrote:

>On 7/11/05, Branko Čibej <brane@xbc.nu> wrote:
>===================================================================
>
>
>>--- subversion/include/svn_wc.h (revision 15318)
>>+++ subversion/include/svn_wc.h (working copy)
>>@@ -337,6 +337,15 @@
>> apr_pool_t *pool);
>>
>>
>>+/**
>>+ * Return @c TRUE if @a name is the name of the WC administrative
>>+ * directory (usually ".svn"). Use @a pool for any temporary allocations.
>>+ *
>>+ * @since New in 1.3.
>>+ */
>>+svn_boolean_t svn_wc_is_adm_dir (const char *name, apr_pool_t *pool);
>>
>>
>
>Is it worthwhile tomake svn_wc__adm_path() public as well, so that a
>hypothetical tool layered on Subversion can find the admin dir to add
>its own files?
>
>
I don't think that's safe. We'd have to introduce some kind of global
tool registry in order to avoid name clashes in the adm directory, and
that's flaky at best.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 12 16:51:17 2005

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