Checkout
Julian Foad
committed
on 04 Mar 14
In libsvn_repos, simplify hash iteration code a little by using key and
value accessor functions rather than apr_hash_this(), as we already … Show more
In libsvn_repos, simplify hash iteration code a little by using key and

value accessor functions rather than apr_hash_this(), as we already do in

many other places.

Though I lament the length of those svn__apr_hash_index_* identifiers (which

I created), at least it's a step closer to readable. We can shorten them

later to apr_hash_this_* by adding configury, now that APR 1.5 has those.

* subversion/libsvn_repos/delta.c

 (delta_dirs): As above.

* subversion/libsvn_repos/fs-wrap.c

 (svn_repos_fs_commit_txn): As above.

* subversion/libsvn_repos/hooks.c

 (lock_token_content): As above.

* subversion/libsvn_repos/load-fs-vtable.c

 (prefix_mergeinfo_paths,

  renumber_mergeinfo_revs,

  remove_node_props): As above.

* subversion/libsvn_repos/log.c

 (svn_repos_check_revision_access,

  turn_moves_into_copies,

  turn_unique_copies_into_moves,

  detect_changed,

  fs_mergeinfo_changed,

  get_combined_mergeinfo_changes,

  send_log,

  combine_mergeinfo_path_lists): As above.

* subversion/libsvn_repos/replay.c

 (add_subdir,

  svn_repos_replay2,

  svn_repos__replay_ev2): As above.

* subversion/libsvn_repos/reporter.c

 (delta_proplists): As above.

* subversion/libsvn_repos/rev_hunt.c

 (find_merged_revisions): As above.

Show less