chiark / gitweb /
dgit: repos_server_url: Set $isuite
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 Jan 2017 20:01:20 +0000 (20:01 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 Jan 2017 20:02:49 +0000 (20:02 +0000)
We need to set this or access_*() fails.  Set it to a dummy value.
The user will need to specify -d to get the server for a non-default
distro, which is hopefully obvious.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index 3ff49043d4c7f33df44f4452d65842ba776c8f51..dafbb0b1dded0bd2ebe41b8f5f96110b12c2b28f 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6316,6 +6316,7 @@ sub cmd_archive_api_query {
 sub repos_server_url () {
     $package = '_dgit-repos-server';
     local $access_forpush = 0;
+    local $isuite = 'DGIT-REPOS-SERVER';
     my $url = access_giturl();
 }