Author: adam-guest
Date: 2008-03-11 18:43:04 +0000 (Tue, 11 Mar 2008)
New Revision: 1122
Modified:
trunk/debian/changelog
trunk/scripts/debcheckout.pl
Log:
debcheckout: Add launchpad.net/foo to the list of recognised
Launchpad repository formats for authenticated mode. Thanks Martin
Pitt
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-03-10 23:23:21 UTC (rev 1121)
+++ trunk/debian/changelog 2008-03-11 18:43:04 UTC (rev 1122)
@@ -58,6 +58,9 @@
messages
* debuild: Add working -j / DEB_BUILD_OPTS=parallel support
(Finally closes: #457235)
+ * debcheckout: Add launchpad.net/foo to the list of recognised
+ Launchpad repository formats for authenticated mode. Thanks Martin
+ Pitt
-- Adam D. Barratt <[EMAIL PROTECTED]> Sat, 01 Mar 2008 11:42:02 +0000
Modified: trunk/scripts/debcheckout.pl
===================================================================
--- trunk/scripts/debcheckout.pl 2008-03-10 23:23:21 UTC (rev 1121)
+++ trunk/scripts/debcheckout.pl 2008-03-11 18:43:04 UTC (rev 1122)
@@ -155,7 +155,7 @@
$user .= "@" if length $user;
switch ($repo_type) {
case "bzr" { $url =~
s|^\w+://(bzr\.debian\.org)/(.*)|sftp://$user$1/bzr/$2|;
- $url =~
s[^\w+://(?:bazaar|code)(\.launchpad\.net/.*)][bzr+ssh://${user}bazaar$1]; }
+ $url =~
s[^\w+://(?:(bazaar|code)\.)?(launchpad\.net/.*)][bzr+ssh://${user}bazaar.$1];}
case "darcs" {
if ($url =~ m|(~)|) {
my $user_local = $user;
--
To unsubscribe, send mail to [EMAIL PROTECTED]