Author: adam-guest
Date: 2008-03-11 19:47:09 +0000 (Tue, 11 Mar 2008)
New Revision: 1124

Modified:
   trunk/scripts/debcheckout.pl
Log:
Fix backref count in launchpad auth regex

Modified: trunk/scripts/debcheckout.pl
===================================================================
--- trunk/scripts/debcheckout.pl        2008-03-11 19:07:25 UTC (rev 1123)
+++ trunk/scripts/debcheckout.pl        2008-03-11 19:47:09 UTC (rev 1124)
@@ -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.$2];}
     case "darcs"  {
        if ($url =~ m|(~)|) {
            my $user_local = $user;



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to