chiark / gitweb /
tag2upload: Use the non-readonly method for dgit fetch
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 23 Jul 2019 15:03:49 +0000 (16:03 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 23 Jul 2019 15:03:49 +0000 (16:03 +0100)
The principal effect in the Debian configuration is to access the
master dgit git server via ssh, rather than the mirror via https.

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

index 4c7e031005df623df5edf996da7ccf4e51c0be53..f94315af571603c81f260fa523edf51b7afad1cd 100755 (executable)
@@ -1263,7 +1263,7 @@ END
     $clogf->('Version', $version);
     $clogf->('Source',  $package);
 
-    @fetch = (@dgit, qw(fetch), $suite);
+    @fetch = (@dgit, qw(--for-push fetch), $suite);
     debugcmd "+",@_;
     $!=0; $?=-1;
     if (system @fetch) {