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

Re: svn commit: r953695 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 11 Jun 2010 11:51:02 -0400

On Fri, Jun 11, 2010 at 09:35, <philip_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_wc/wc_db.c Fri Jun 11 13:35:24 2010
>...
> @@ -4856,11 +4857,31 @@ svn_wc__db_global_relocate(svn_wc__db_t
>                                &rb.repos_relpath, &old_repos_root_url,
>                                &rb.repos_uuid,
>                                NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
> -                               NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
> +                               NULL, NULL, NULL, NULL, NULL, NULL, NULL,
> +                               &base_shadowed,
>                                NULL, NULL,
>                                db, local_dir_abspath,
>                                scratch_pool, scratch_pool));
>
> +  if (status == svn_wc__db_status_excluded
> +      || status == svn_wc__db_status_incomplete)
> +    {
> +      svn_sqlite__stmt_t *stmt;
> +
> +      SVN_ERR(svn_sqlite__get_statement(&stmt, pdh->wcroot->sdb,
> +                                        STMT_SELECT_BASE_NODE));
> +      SVN_ERR(svn_sqlite__bindf(stmt, "is",
> +                                pdh->wcroot->wc_id, rb.local_relpath));
> +      SVN_ERR(svn_sqlite__step(&rb.have_base_node, stmt));
> +      SVN_ERR(svn_sqlite__reset(stmt));
> +    }
> +  else if (base_shadowed || status == svn_wc__db_status_normal
> +           || status == svn_wc__db_status_absent
> +           || status == svn_wc__db_status_not_present)

Is it possible to get an absent WORKING_NODE with 'svn cp URL WC' ? It
seems that we would want an absent node so that the client cannot
attempt to add/copy/move a node to that name.

>...

Cheers,
-g
Received on 2010-06-11 17:51:40 CEST

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.