Checkout
rhuijben
committed
on 17 Feb 15
Stop creating empty ACTUAL_NODE records for directories when using
'svn changelist --depth infinty new WC'

* subversion/libsvn_wc/wc-querie… Show more
Stop creating empty ACTUAL_NODE records for directories when using

'svn changelist --depth infinty new WC'

* subversion/libsvn_wc/wc-queries.sql

 (STMT_INSERT_ACTUAL_EMPTIES_FILES): New query.

 (STMT_DELETE_ACTUAL_EMPTIES): Also try delete node itself.

* subversion/libsvn_wc/wc_db.c

 (set_changelist_txn): Use STMT_INSERT_ACTUAL_EMPTIES_FILES to

   avoid creating unneeded records.

* subversion/svn/changelist-cmd.c

 (svn_cl__changelist): Remove long outdated comment. This bad

   pattern was fixed a long time ago.

* subversion/tests/libsvn_wc/wc-queries-test.c

 (slow_statements): Add STMT_INSERT_ACTUAL_EMPTIES_FILES.

 (parse_explanation_item): Handle new output style in recent Sqlite versions.

Show less