chiark / gitweb /
On push check that we have access_giturl; this allows missing config to abort pushes...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 3 Aug 2014 17:39:02 +0000 (18:39 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 3 Aug 2014 17:39:02 +0000 (18:39 +0100)
dgit

diff --git a/dgit b/dgit
index ae2684b..053c768 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1369,6 +1369,8 @@ sub dopush () {
     printdebug "actually entering push\n";
     prep_ud();
 
+    access_giturl(); # check that success is vaguely likely
+
     my $clogpfn = ".git/dgit/changelog.822.tmp";
     runcmd shell_cmd "exec >$clogpfn", qw(dpkg-parsechangelog);