Checkout
cmpilato
committed
on 27 May 11
Simplify some code in the generic FS loader vtable, in the same
fashion that I did for 'svnrdump load' in r1128138. This should allow
us to… Show more
Simplify some code in the generic FS loader vtable, in the same

fashion that I did for 'svnrdump load' in r1128138.  This should allow

us to more easily rework the storage mechanism for the revision

mapping later without having to revisit all the consumers thereof.

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

 (set_revision_mapping, get_revision_mapping): New helpers.

 (renumber_mergeinfo_revs, maybe_add_with_history, close_revision):

   Use set_revision_mapping() and get_revision_mapping() instead of

   peeking and poking directly into the revision mapping hash.

Show less