From: Ian Jackson Date: Thu, 19 Jan 2017 20:03:29 +0000 (+0000) Subject: dgit: repos_server_url: Set $access_forpush to 1 X-Git-Tag: archive/debian/3.7~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=c9abf8b7f7c9d58ad203bf9f950e28cf2438913b 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 --- diff --git a/dgit b/dgit index dafbb0b1..cf27bb7c 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(); }