You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2013/01/25 23:12:11 UTC

svn commit: r1438739 - /subversion/trunk/subversion/libsvn_wc/conflicts.c

Author: julianfoad
Date: Fri Jan 25 22:12:10 2013
New Revision: 1438739

URL: http://svn.apache.org/viewvc?rev=1438739&view=rev
Log:
* subversion/libsvn_wc/conflicts.c
  (resolve_text_conflict): Fix a doc string mistake from r1438737.
  (svn_wc__conflict_invoke_resolver): Add a TODO comment: we
    need to remove the conflict artifact files when marking as resolved.

Modified:
    subversion/trunk/subversion/libsvn_wc/conflicts.c

Modified: subversion/trunk/subversion/libsvn_wc/conflicts.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/conflicts.c?rev=1438739&r1=1438738&r2=1438739&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/conflicts.c (original)
+++ subversion/trunk/subversion/libsvn_wc/conflicts.c Fri Jan 25 22:12:10 2013
@@ -1685,8 +1685,8 @@ save_merge_result(svn_skel_t **work_item
  * perform that requested resolution and prepare to mark the conflict
  * as resolved.
  *
- * Don't mark the conflict as resolved, but do return *WORK_ITEMS that
- * will do the on-disk work required to mark it as resolved, and set
+ * Return *WORK_ITEMS that will do the on-disk work required to complete
+ * the resolution (but not to mark the conflict as resolved), and set
  * *WAS_RESOLVED to true, if it was resolved.  Set *WORK_ITEMS to NULL
  * and *WAS_RESOLVED to FALSE otherwise.
  *
@@ -1953,6 +1953,8 @@ svn_wc__conflict_invoke_resolver(svn_wc_
 
       if (was_resolved)
         {
+          /* ### TODO: As part of marking resolved, we need to include
+           *     deleting the three artifact files in WORK_ITEMS... */
           SVN_ERR(svn_wc__db_op_mark_resolved(db, local_abspath, TRUE, FALSE,
                                               FALSE, work_items, scratch_pool));
           if (work_items)