diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-19 20:03:29 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-19 20:03:29 +0000 |
commit | c9abf8b7f7c9d58ad203bf9f950e28cf2438913b (patch) | |
tree | 910651f8d6df3e2040370cc8ecc436e52598809f | |
parent | b4488588e10b6953a2c96b6ccfc3877f9a736fee (diff) |
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 <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |