Mark Phippard wrote:
>Daniel Rall <dlr@finemaltcoding.com> wrote on 10/20/2005 04:31:19 PM:
>
>
>
>>I assume you mean that the ability to digest a full path would be more
>>desirable? (This was my thinking as well.) As the JavaHL binding I
>>added simply wraps svn_wc_is_adm_dir(), a change to that library would
>>do the trick here, and sounds like a generally more comfortable API.
>>Maybe something like...?:
>>
>>
>
>I think clarification in the JavaDoc would be fine. It would not be hard
>from Java to just pass the folder name and not the path.
>
>
Yes.
>What I was really saying is that we are more likely to need and use the
>"get" method than the "is" method. For example, we need to register the
>name of this folder with Eclipse so that it ignores it on some of its
>operations, hides it in the UI etc... We also need it so that we can
>explicitly look for the folder.
>
>
For what you describe, you _definitely_ need the _is_ version of the
API. effetively, you want to do what libsvn_wc does; actually use either
_svn or .svn, but treat both as special names (e.g., even if the .net
hack is enabled, you still can't "svn mkdir .svn").
Reading this discussion, I'm now really sorry I ever provided the _get_
form.
>I do not think we ever have a case where we have some folder name and we
>want to check if is an admin directory or not.
>
>
I definitely hope client code doesn't do that...
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 20 23:55:12 2005