diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-09 15:52:08 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-09 15:52:14 +0000 |
commit | f6561dc13583c0b0c242d39d0056368ba2020121 (patch) | |
tree | d14bc2d3267d5d7000eeeb62c4d7fa39505bcc16 /dgit | |
parent | 130a702aa3a3253bf8569e9110af88af8c7dc7b0 (diff) |
dgit: Option parsing: Move pushing call in push
Otherwise $isuite might not be set when we call access_something.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4333,7 +4333,6 @@ END sub cmd_push { parseopts(); - pushing(); badusage "-p is not allowed with dgit push" if defined $package; check_not_dirty(); my $clogp = parsechangelog(); @@ -4346,6 +4345,7 @@ sub cmd_push { badusage "incorrect arguments to dgit push"; } $isuite = getfield $clogp, 'Distribution'; + pushing(); if ($new_package) { local ($package) = $existing_package; # this is a hack canonicalise_suite(); |