From c9abf8b7f7c9d58ad203bf9f950e28cf2438913b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 19 Jan 2017 20:03:29 +0000 Subject: dgit: repos_server_url: Set $access_forpush to 1 In 468edf05661e "dgit: clone-dgit-repos-server: Set $access_forpush" we set this to 0. But this is wrong. The dgit-repos-server is used for pushing, not for readonly access. The readonly url may be entirely wrong, and indeed it is, for Debian. Signed-off-by: Ian Jackson --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index dafbb0b..cf27bb7 100755 --- a/dgit +++ b/dgit @@ -6315,7 +6315,7 @@ sub cmd_archive_api_query { sub repos_server_url () { $package = '_dgit-repos-server'; - local $access_forpush = 0; + local $access_forpush = 1; local $isuite = 'DGIT-REPOS-SERVER'; my $url = access_giturl(); } -- cgit v1.2.3