You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philip Martin <ph...@wandisco.com> on 2010/03/12 17:45:22 UTC

What path can be passed to svn_wc_locked2?

What sort of path can be passed to svn_wc_locked2?  Does it need to be
versioned?  Does it need to be a directory?

The doc string calls it local_abspath but it gets passed directly into
svn_wc__db_temp_own_lock where it is called local_dir_abspath and
there a pdh for the path can be created.  Do we want to do that for
things that are not directories?

-- 
Philip

Re: What path can be passed to svn_wc_locked2?

Posted by Greg Stein <gs...@gmail.com>.
Just directories should be allowed.

The docstring also needs some serious improvement. It doesn't
distinguish the semantics of the two variables. I kinda sorta know
what it means, but a hapless reader is going to scratch their heads.

Cheers,
-g

On Fri, Mar 12, 2010 at 12:45, Philip Martin <ph...@wandisco.com> wrote:
> What sort of path can be passed to svn_wc_locked2?  Does it need to be
> versioned?  Does it need to be a directory?
>
> The doc string calls it local_abspath but it gets passed directly into
> svn_wc__db_temp_own_lock where it is called local_dir_abspath and
> there a pdh for the path can be created.  Do we want to do that for
> things that are not directories?
>
> --
> Philip
>