/[Apache-SVN]
ViewVC logotype

Revision 1657846


Jump to revision: Previous Next
Author: rhuijben
Date: Fri Feb 6 14:46:49 2015 UTC (9 years, 2 months ago)
Changed paths: 5
Log Message:
Instead of transforming nodes into an copy by changing their op-depth make
a proper copy, to allow the layer bump code to handle further edge cases
like things that are recorded while shadowing.

* subversion/libsvn_wc/wc-queries.sql
   (STMT_UPDATE_OP_DEPTH_RECURSIVE): Remove query.
   (STMT_COPY_OP_DEPTH_RECURSIVE): New query.

* subversion/libsvn_wc/wc_db.c
  (make_copy_txn): Remove two unused arguments and their handling.
    Move the flush, conflict and work item code to caller.
  (svn_wc__db_op_make_copy_internal): New function, containing some
    bits from make_copy_txn() and some from svn_wc__db_op_make_copy(),
    running inside a transaction. Allow handling the other valid make-copy
    case.
  (svn_wc__db_op_make_copy): Call svn_wc__db_op_make_copy_internal to
    do several queries inside a transaction.

* subversion/libsvn_wc/wc_db.h
  (svn_wc__db_op_make_copy): Extend documentation.

* subversion/libsvn_wc/wc_db_private.h
  (svn_wc__db_op_make_copy_internal): New function.

* subversion/libsvn_wc/wc_db_update_move.c
  (tc_editor_delete): Use svn_wc__db_op_make_copy_internal() to make
    the copy.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_wc/wc-queries.sql modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db_private.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db_update_move.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26