Finish issue #1911 -- svndumpfilter not correctly remapping removed revisions
Finish issue #1911 -- svndumpfilter not correctly remapping removed revisions

Teach svndumpfilter to, when tempted to use as a copy source revision
a revision that it has previously dropped (--drop-empty-revs --renumber-revs),
use instead the youngest not-dropped revision older than that dropped revision.

* subversion/svndumpfilter/main.c
  (struct revmap_t): New.
  (struct parse_baton_t): Add 'last_live_revision' member.
  (new_revision_record): Stop populating the renumbering hash.
  (output_revision): Populate the renumbering hash here, instead.
  (new_node_record): Expect 'struct revmap_t' value in the renumbering
    hash, and stop checking for sentinels that were never present.
  (parse_baton_initialize): Initialize new 'last_live_revision' baton member.
  (do_filter): Expect 'struct revmap_t' value in the renumbering hash.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@856424 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion