Add working-but-unfinished code to convert a dumpfile to a rev file.
Add working-but-unfinished code to convert a dumpfile to a rev file.

* libsvn_fs_fs/make-revs.c
  The converter.  The quality of this code isn't great, but it's only
  for generating test cases and will eventually go away.  It stores
  the node-rev metadata for the entire dumpfile in memory in a
  succession-of-trees form, and only works for dumpfiles starting at
  rev 0.

  The converter does not yet generate proper node-IDs, does not write
  out changed-path information, does not write out rev-props, and does
  not know what to do with a uuid.

  I build this code with:
    libtool cc -g -Wall -I$svninst/include/subversion-1 \
      -I$svninst/include/apr-0 -L$svninst/lib make-revs.c \
      -o make-revs -lsvn_repos-1

  (struct entry): Holds node-rev information.
  (struct parse_baton): Holds information global to the conversion
   process.

  (new_entry): Create and initialize an entry.
  (get_root): Convenience function to index the pb->roots array.
  (find_entry): Search a past root for a pathname.
  (copy_entry): Set up a node-rev based an on old node-rev, either
   as a change or as a hard or soft copy.
  (get_child): Get the child of a directory, ensuring that it has
   been copied for the current revision.
  (follow_path): Get the path for the current root, ensuring that
   each element has been copied for the current revision.
  (get_node_info): Extract node information from the header block of a
   dumped node.
  (write_directory_rep): Write out the rep of a directory to the rev
   file.
  (write_props): Write out a props rep to the rev file.
  (write_node_rev): Write out a node-rev to the rev file.
  (write_entry): Recursive function to write out the changed aspects
   of a node-rev and its children to the rev file.

  (new_revision_record, new_node_record, set_revision_property,
   set_node_property, delete_node_property, remove_node_props,
   set_fulltext, apply_textdelta, close_node, close_revision):
   Implementation of parser using above helper functions.
  (parser, main): Trivial front-end to above parser.


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

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