/[Apache-SVN]
ViewVC logotype

Revision 1657948


Jump to revision: Previous Next
Author: rhuijben
Date: Fri Feb 6 20:21:31 2015 UTC (9 years, 2 months ago)
Changed paths: 1
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.


Changed paths

Path Details
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