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

Re: [PATCH] "svn up" should not tree lock the anchor unless it's wc root

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-07-13 12:13:28 CEST

Chia-liang Kao <clkao@clkao.org> writes:

> SVN_ERR (svn_wc_get_actual_target (path, &anchor, &target, pool));
> - SVN_ERR (svn_wc_adm_open (&adm_access, NULL, anchor, TRUE, TRUE, pool));
> + SVN_ERR (svn_io_check_path (path, &kind, pool));
> + SVN_ERR (svn_wc_adm_open (&adm_access, NULL, anchor, TRUE,
> + target && (kind != svn_node_none) ? FALSE : TRUE,
> + pool));

Why is it necessary to check the node kind of path? The original code
didn't do that.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 13 12:14:24 2003

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.