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

[PATCH] merge_tracking merge_tests.py testcase failures fix for delete_file_and_dir

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-07-07 09:26:15 CEST

Hi All,
Find the attached patch.

With regards
Kamesh Jayachandran
[[[
Patch by: Kamesh Jayachandran <kamesh@collab.net>

Even though the given merge leads to 'Skip' svn:mergeinfo is recorded.
This causes subsequent force merge to fail.

* subversion/tests/cmdline/merge_tests.py
  (delete_file_and_dir):
   'svn pd svn:mergeinfo' to make subseuent forced merges to succeed.
]]]

Index: subversion/tests/cmdline/merge_tests.py
===================================================================
--- subversion/tests/cmdline/merge_tests.py (revision 20465)
+++ subversion/tests/cmdline/merge_tests.py (working copy)
@@ -626,6 +626,11 @@
                                        expected_status,
                                        expected_skip)
 
+ #subversion/libsvn_client/diff.c:do_merge has no way of knowing
+ #if at all any changes are caused by this merge.
+ #delete the svn:mergeinfo so that subsequent force merge would work.
+ svntest.actions.run_and_verify_svn(B2_path, None, [],
+ 'pd', SVN_PROP_MERGE_INFO, B2_path)
   expected_output = wc.State(B2_path, {
     'E' : Item(status='D '),
     'E/alpha' : Item(status='D '),

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 7 09:25:16 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.