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

Re: CVS update: MODIFIED: libsvn_wc ...

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-08-29 19:16:07 CEST

On Wed, Aug 29, 2001 at 05:18:58PM -0000, cmpilato@tigris.org wrote:
> User: cmpilato
> Date: 01/08/29 10:18:58
>
> Modified: subversion/libsvn_wc adm_crawler.c
> Log:
> "Working copy locked" bug...be gone.
Yay!!!!!
>
> * adm_crawler.c
>
> (do_lock): Don't try to lock a directory we've locked in the past.
Doh!
>
> do_lock (svn_stringbuf_t *path, apr_hash_t *locks, apr_pool_t *pool)
> {
> svn_error_t *err, *err2;
> + svn_boolean_t locked;
Where is this used?
>
> + /* See if this directory is locked already */
> + if (apr_hash_get (locks, path->data, APR_HASH_KEY_STRING) != NULL)
> + return SVN_NO_ERROR;
> +
> err = svn_wc__lock (path, 0, pool);
> if (err)
> {

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:37 2006

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.