philip@tigris.org writes:
> Author: philip
> Date: Sat Mar 22 12:52:58 2003
> New Revision: 5435
>
> Modified:
> trunk/subversion/include/svn_repos.h
> trunk/subversion/libsvn_repos/load.c
> trunk/subversion/svnadmin/main.c
> Log:
> Patch from florin@iucha.net (Florin Iucha) to implement part of
> issue 765. Make it possible to load dumpfiles into a directory
> other than the root directory.
>
> * 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".
I thought about making it "load-dir" rather than "parent-dir", but
if/when there is a corresponding option to dump we may want to use the
same name for both options. I also considered "root-dir" but in the
end I decided to go with Florin Iucha's original.
What do people think?
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 22 20:23:09 2003