This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit ca574448fcadfbedce2474c363cbcc72c9dfa47c
Author: Colin Watson <[email protected]>
Date:   Sun Jun 14 22:35:28 2015 +0100

    debcheckout: Handle Launchpad Git URLs
    
    Signed-off-by: James McCoy <[email protected]>
---
 scripts/debcheckout.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/debcheckout.pl b/scripts/debcheckout.pl
index 0cd20a3..1595d62 100755
--- a/scripts/debcheckout.pl
+++ b/scripts/debcheckout.pl
@@ -482,6 +482,7 @@ sub set_auth($$$$) {
            } else {
                $url =~ 
s|^\w+://(git\.debian\.org)/(?:git/)?(.*)|git+ssh://$user$1/git/$2|;
            }
+           $url =~ 
s[^\w+://(?:(git|code)\.)?(launchpad\.net/.*)][git+ssh://${user}git.$2];
        }
        # "hg ssh://" needs an extra slash so paths are not based in the user's 
$HOME
        when ("hg") {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to