Why not adopt me?This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.
svn-dump-reloc - rewrite paths in a Subversion dump
svn-dump-reloc from to [from1 to1 [...]]
This utility modifies a repository dump, rewriting file paths in accordance with the passed arguments.
It reads the original repository dump from stdin and writes the modified dump to stdout.
It is useful to import a repository as a subdirectory of another already existent one. For instance:
$ svnadmin dump /my/repos | svn-dump-reloc "/" "my/project" >dump
will relocate all the files in the dump to the subdirectory
Or to rename or move directories:
$ svnadmin dump /my/repos | svn-dump-reloc "foo/doz" "bar" >dump
that will move the files in the directory
bar leaving the rest untouched.
Paths are always absolute and there is no need to begin them with a slash (
/). For instance,
/foo are equivalent.
This program does not check for colisions on the file tree and so, it is possible to generate corrupted dumps when some target path overlaps with another directory present in the dump.
Salvador Fandiño <firstname.lastname@example.org>
Copyright (C) 2007-2008 by Qindel Formacion y Servicios S.L.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 160:
alternative text 'http://svnbook.red-bean.com/' contains non-escaped | or /