Florin Iucha <florin@iucha.net>


Patch
r845509

r845509 | philip | 2003-03-22 12:52:58 -0600 (Sat, 22 Mar 2003)

Implement part of issue #765: Make it possible to load dumpfiles into
a directory other than the root directory.

Patch by: Florin Iucha <florin@iucha.net>

* subversion/include/svn_repos.h
  (svn_repos_load_fs): Add the parent_dir parameter.
   
* subversion/libsvn_repos/load.c
  (struct parse_baton): Add the parent_dir parameter.
  (make_node_baton): Prepend parent_dir to the node path.
  (svn_repos_get_fs_build_parser): Add the parent_dir parameter,
     put the parameter in the parse_baton structure.
  (svn_repos_load_fs): Add the parent_dir parameter,
     pass the parent_dir to svn_repos_get_fs_build_parser.
   
* subversion/svnadmin/main.c
  (subcommand_load): Pass the parent_dir parameter to svn_repos_load_fs.
  (main): Add the --parent-dir to the option list for "load".