summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:39:02 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:39:02 +0100
commit1954110291a44ae3221c4a98781dce083b07caa8 (patch)
treec12b7de7c0fdde0625edcea84db9508a8a8fa7ea
parent08434a9b27bc7f911ab64cac7a66756caa0cb9d6 (diff)
On push check that we have access_giturl; this allows missing config to abort pushes early
-rwxr-xr-xdgit2
1 files changed, 2 insertions, 0 deletions
diff --git a/dgit b/dgit
index ae2684b..053c768 100755
--- 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);