summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-19 20:03:29 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-19 20:03:29 +0000
commitc9abf8b7f7c9d58ad203bf9f950e28cf2438913b (patch)
tree910651f8d6df3e2040370cc8ecc436e52598809f
parentb4488588e10b6953a2c96b6ccfc3877f9a736fee (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-xdgit2
1 files changed, 1 insertions, 1 deletions
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();
}