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

Re: svn commit: r1305801 - in /subversion/trunk/subversion: libsvn_wc/wc_db.c tests/libsvn_wc/op-depth-test.c

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 27 Mar 2012 12:36:21 -0400

On Tue, Mar 27, 2012 at 06:06, <stsp_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_wc/wc_db.c Tue Mar 27 10:06:41 2012
>...
> @@ -3657,7 +3657,7 @@ db_op_copy(svn_wc__db_wcroot_t *src_wcro
>                     dst_op_depth,
>                     dst_parent_relpath,
>                     presence_map, dst_presence));
> -      if (is_move)
> +      if (is_move && status != svn_wc__db_status_added)
>         SVN_ERR(svn_sqlite__bind_int64(stmt, 7, 1));

Hrm. What happens if the status is svn_wc__db_status_copied? (another
possible result from scan_addition) Don't you want to specifically
test for status_moved_here?

>...

Cheers,
-g
Received on 2012-03-27 18:36:54 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.