Migrating a svn directory to alioth

Sylvestre Ledru sylvestre.ledru at inria.fr
Wed Aug 27 08:49:47 UTC 2008

Le mardi 26 août 2008 à 00:46 +0200, Manuel Prinz a écrit :
> Am Montag, den 25.08.2008, 22:18 +0200 schrieb Sylvestre Ledru:
> > Yep, I used that [svnadmin dump] to migrate pkg-science to
> > debian-science but I haven't find the option to import only a specific
> > directory ("svnadmin dump" dumps the whole Torsten's SVN).
> Sorry, I misread your mail! But I think this is possible with either
> "svndumpfilter" or "svn load --parent-dir". As said, it's been a while
> with SVN and I'm too lazy to look it up for you right now. ;)
Thanks for the tip to svndumpfilter ! It was exactly was I was looking
I imported libmatio [1], sivp [2] and worldwind [3] into Debian-Science.

For the record, here is the series of commands.
1) dump the remote repository
2) retrieve what you need
3) inject it

# svnadmin create local-repo
# mv local-repo/hooks/pre-revprop-change.tmpl
# chmod +x torsten/hooks/pre-revprop-change
# sed -i -e "s|exit 1|exit 0|" local-repo/hooks/pre-revprop-change

# svnsync init file:///home/sylvestre/dev/debian/local-repo/

# svnsync sync file:///home/sylvestre/dev/debian/local-repo/
# svnadmin dump /home/sylvestre/dev/debian/local-repo/ > repos-dumpfile
# cat repos-dumpfile |svndumpfilter include worldwind >

On Alioth:
# svnadmin load /srv/svn.debian.org/svn/debian-science/ <


[1] http://packages.qa.debian.org/libm/libmatio.html
[2] http://packages.qa.debian.org/s/sivp.html
[3] http://packages.qa.debian.org/w/worldwind.html

More information about the debian-science-maintainers mailing list