[devscripts] 01/01: debcheckout: Set "git" as default repository type so https:// URLs use it.
Christoph Berg
myon at debian.org
Tue Dec 26 11:17:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
myon pushed a commit to branch master
in repository devscripts.
commit cbc8521534974f11a2e2badb5d19f1ef4c9a7ecb
Author: Christoph Berg <myon at debian.org>
Date: Tue Dec 26 12:17:40 2017 +0100
debcheckout: Set "git" as default repository type so https:// URLs use it.
---
debian/changelog | 1 +
scripts/debcheckout.pl | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e29f231..f906589 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ devscripts (2.17.12) UNRELEASED; urgency=medium
[ Christoph Berg ]
* debcheckout: Support salsa.debian.org.
+ * debcheckout: Set "git" as default repository type so https:// URLs use it.
-- Mattia Rizzolo <mattia at debian.org> Mon, 30 Oct 2017 07:48:10 +0100
diff --git a/scripts/debcheckout.pl b/scripts/debcheckout.pl
index 799fb21..3d19f78 100755
--- a/scripts/debcheckout.pl
+++ b/scripts/debcheckout.pl
@@ -114,7 +114,7 @@ from the URL, use this package name.
=item B<-t> I<TYPE>, B<--type> I<TYPE>
Override the repository type (which defaults to some heuristics based
-on the URL or, in case of heuristic failure, the fallback "svn");
+on the URL or, in case of heuristic failure, the fallback "git");
should be one of the currently supported repository types.
=item B<-u> I<USERNAME>, B<--user> I<USERNAME>
@@ -1030,7 +1030,7 @@ sub main() {
my $print_mode = 0; # print only mode
my $details_mode = 0; # details only mode
my $use_package = ''; # use this package instead of guessing from the URL
- my $repo_type = "svn"; # default repo typo, overridden by '-t'
+ my $repo_type = "git"; # default repo typo, overridden by '-t'
my $repo_url = ""; # repository URL
my $anon_repo_url; # repository URL (before auth mangling)
my $user = ""; # login name (authenticated mode only)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list