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

Re: svn commit: r1770633 - in /subversion/trunk/subversion: libsvn_wc/wc_db_update_move.c tests/libsvn_client/conflicts-test.c

From: 'Stefan Sperling' <stsp_at_apache.org>
Date: Mon, 21 Nov 2016 10:53:58 +0100

On Mon, Nov 21, 2016 at 10:46:25AM +0100, Bert Huijben wrote:
>
>
> > -----Original Message-----
> > From: stsp_at_apache.org [mailto:stsp_at_apache.org]
> > Sent: maandag 21 november 2016 10:37
> > To: commits_at_subversion.apache.org
> > Subject: svn commit: r1770633 - in /subversion/trunk/subversion:
> > libsvn_wc/wc_db_update_move.c tests/libsvn_client/conflicts-test.c
> >
> > Author: stsp
> > Date: Mon Nov 21 09:36:30 2016
> > New Revision: 1770633
> >
> > URL: http://svn.apache.org/viewvc?rev=1770633&view=rev
> > Log:
> > Fix a trivial bug in the update-incoming-move code.
> >
> > * subversion/libsvn_wc/wc_db_update_move.c
> > (update_incoming_moved_node): Look at the correct WC relpath for the
> > conflict
> > victim's set of working nodes.
> >
> > * subversion/tests/libsvn_client/conflicts-test.c
> > (test_list): Mark test_update_incoming_dir_move_with_nested_file_move as
> > PASS.
> >
> > Modified:
> > subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
> > subversion/trunk/subversion/tests/libsvn_client/conflicts-test.c
> >
> > Modified: subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
> > URL:
> > http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db_u
> > pdate_move.c?rev=1770633&r1=1770632&r2=1770633&view=diff
> > ================================================================
> > ==============
> > --- subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c (original)
> > +++ subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c Mon Nov
> > 21 09:36:30 2016
> > @@ -2059,7 +2059,7 @@ update_incoming_moved_node(node_move_bat
> > src_relpath, b->src_op_depth, wcroot, scratch_pool,
> > scratch_pool));
> > SVN_ERR(get_working_info(&dst_props, &dst_checksum,
> > - &dst_children, &dst_kind, dst_relpath,
> > + &dst_children, &dst_kind, src_relpath,
> > wcroot, scratch_pool, scratch_pool));
>
> This doesn't look right...

Indeed, it does not. Hence follow-up fixes (see r1770638).
 
> It looks like you are now comparing the source with the highest op-depth info of the source...

Yes! That's what I want :-)
Received on 2016-11-21 10:54:50 CET

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.