Wednesday, July 18, 2007

svn_load_dirs.pl and Ubuntu

I need to do some vendor drops with Subversion and the documentation seems to point to svn_load_dirs.pl as being the best place to start. So I install subversion and subversion-tools onto my Ubuntu system only to find that I don't seem to have a svn_load_dirs.pl installed. After a little bit of digging it seems that svn_load_dirs.pl was removed from the Debian package (which the Ubuntu one is based) due to licensing concerns although this isn't very clear as the changelog doesn't explain that this was one of the affected files. So it looks like I need to get myself a copy of the source distribution.

6 comments:

Zach said...

You can get it from http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in

You just have to change this part:
# Specify the location of the svn command.
my $svn = '@SVN_BINDIR@/svn';

To the actual path of your svn command.

Jason Shao said...

Note -- I had to patch it to prevent getting 1500 something files have their execution bit set: http://jay.shao.org/archives/2007/07/17/sakai-svn-vendor-branch-outcome has a link to the patch I applied.

Matthew Buckett said...

Thanks, for the help. It was after seeing your posts on vendor drops Jason that I started looking at it and I applied the patch you suggested. Thanks for the tip Zach on grabbing it from SVN, that's what I ended up doing.

Jason Shao said...

I saw you tagged a SVK page on del.icio.us -- did it work for you?

dannf said...

fyi, I maintain a free alternative called 'svn-load' which has been in Debian for some time, so should be available in Ubuntu.

Unknown said...

svn-load is broken in Ubuntu right now.
I get the following error:

Warning: Unimplemented callback: get_login
TypeError: PyCXX: Error creating object of type N2Py5TupleE from None