diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-06-28 12:32:18 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-06-28 12:43:51 +0100 |
commit | f52d69c4c3fd99b72b5402afb34fb1dbe5b64303 (patch) | |
tree | ea9afb7f1b888ad95d7238ea8f16e3387ea97d24 | |
parent | aec6c2686eefbe12dd1d7b98c90d952db1f86a1d (diff) |
dgit: rpush: Work in splitting quilt modes, again
The failure case is missing the obviously-necessary check that the
protocol version is, indeed, insufficient!
This was broken in
045ec681a42fd823280cdec86a177309ddd741f0
Split tags: Genrate maintainer-view tag too
which was first uploaded as part of dgit 2.0.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5171,7 +5171,7 @@ sub i_resp_want ($) { fail f_ "rpush negotiated protocol version %s". " which does not support quilt mode %s", $protovsn, $quilt_mode - if quiltmode_splitbrain; + if quiltmode_splitbrain && $protovsn < 4; my @localpaths = i_method "i_want", $keyword; printdebug "[[ $keyword @localpaths\n"; |