Log Message: |
Use a bit of knowledge from the only caller of the move-update alter
file/directory logic to avoid reading the same information from wc.db
twice. Avoid some db queries by performing them only when the result
is actually used.
* subversion/libsvn_wc/wc_db_update_move.c
(tc_editor_alter_directory): This function is only called for changes so no
need to check that. Obtain properties via argument, as the only caller
just compared those.
(tc_editor_alter_file): Get props and checksum from arguments.
(update_moved_away_node): Update caller.
|