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

Re: SVN_ASP_DOT_NET_HACK environment variable

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2005-09-29 00:48:37 CEST

Julian Foad wrote:

> This seems to conflict with svn_wc.h:
>
>> * Return @c TRUE if @a name is the name of the WC administrative
>> * directory. Use @a pool for any temporary allocations.
>> *
>> * For compatibility, the default name (.svn) will always be treated
>> * as an admin dir name, even if the working copy is actually using an
>> * alternative name.
>
> [...]
>
>> svn_boolean_t svn_wc_is_adm_dir (const char *name, apr_pool_t *pool);
>
>
> Do existing ".svn" directories continue to work or not?

No, they won't work. svn_wc_is_adm_dir will return TRUE for .svn, but
the name actually used when looking for metadata will be _svn. Note that
svn_wc_is_adm_dir only tells you if the given names is reserved for
admin directory names (and therefore should not be, e.g., added to the
repository). svn_wc_get_adm_dir will return the name that's actually in use.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 29 00:49:25 2005

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