The following commit has been merged in the master branch:
commit df3886ef671872588b4754fbb3dab16c51cab2a2
Author: Christoph Berg <[email protected]>
Date: Fri Apr 9 21:37:08 2010 +0200
debcheckout: inject extra slash in "hg ssh://hg.debian.org//" URLs so paths
are not based in the user's $HOME.
diff --git a/debian/changelog b/debian/changelog
index a695556..4ff6410 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+devscripts (2.10.63) unreleased; urgency=low
+
+ * debcheckout: inject extra slash in "hg ssh://hg.debian.org//" URLs so
+ paths are not based in the user's $HOME.
+
+ -- Christoph Berg <[email protected]> Fri, 09 Apr 2010 21:31:24 +0200
+
devscripts (2.10.62) unstable; urgency=low
[ James Vega ]
diff --git a/scripts/debcheckout.pl b/scripts/debcheckout.pl
index 9f170c5..f38e2f2 100755
--- a/scripts/debcheckout.pl
+++ b/scripts/debcheckout.pl
@@ -411,7 +411,8 @@ sub set_auth($$$$) {
$url =~
s|^\w+://(git\.debian\.org)/(?:git/)?(.*)|git+ssh://$user$1/git/$2|;
}
}
- case "hg" { $url =~ s|^\w+://(hg\.debian\.org/.*)|ssh://$user$1|; }
+ # "hg ssh://" needs an extra slash so paths are based in the user's
$HOME
+ case "hg" { $url =~ s|^\w+://(hg\.debian\.org/)|ssh://$user$1/|; }
case "svn" {
$url =~ s|^\w+://(svn\.debian\.org)/(.*)|svn+ssh://$user$1/svn/$2|;
}
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].