Author: zack
Date: 2008-10-30 08:13:10 +0000 (Thu, 30 Oct 2008)
New Revision: 1682
Modified:
trunk/scripts/debcheckout.pl
Log:
properly guess URL types for some http:// URLs, when pointing by
alioth-hosted VCS
Modified: trunk/scripts/debcheckout.pl
===================================================================
--- trunk/scripts/debcheckout.pl 2008-10-29 22:52:06 UTC (rev 1681)
+++ trunk/scripts/debcheckout.pl 2008-10-30 08:13:10 UTC (rev 1682)
@@ -598,6 +598,8 @@
my $repo_type = $default;
if ($repo_url =~ /^(git|svn)(\+ssh)?:/) {
$repo_type = $1;
+ } elsif ($repo_url =~ /^https?:\/\/(svn|git|hg|bzr|darcs)\.debian\.org/) {
+ $repo_type = $1;
}
return $repo_type;
}
--
To unsubscribe, send mail to [EMAIL PROTECTED]