Convert ra_serfs 'svn_ra_replay' support to the transition based xml parser.
Convert ra_serfs 'svn_ra_replay' support to the transition based xml parser.

* subversion/libsvn_ra_serf/replay.c
  (includes): Add svn_hash.h.
  (replay_state_e): Add new states. Use common prefix.

  (replay_ttable): New transition table.
  (replay_node_t): New struct, containing per file/dir state.

  (replay_context_t): Renamed to...
  (revision_report_t): ... this. Remove per item state and now unused vars.

  (push_state): Remove function.

  (start_replay,
   end_replay,
   cdata_replay): Remove functions fold functionality in these...

  (replay_opened,
   replay_closed,
   replay_cdata): New functions. Add more error checking based on the node
      stack.

  (replay_done): New function. Handles magic that was part of the old xml parser.
  (create_replay_body): Use passed pool for tempvars instead of long lived ctx.

  (svn_ra_serf__replay): Store context on the stack. Use handler->done.
    Use new parser.

  (svn_ra_serf__replay_range): Move variables referenced from contexts to the outer
    scope, to show they are used out of scope. Use new parser. Reduce scope of
    done handling variables.


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

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion