The Perl 5 module Module::Install::Repository automatically sets
the repository URL from a svn/svk/git checkout.

Homepage:
http://search.cpan.org/dist/Module-Install-Repository/
