From: Ian Jackson Date: Mon, 26 Sep 2016 00:34:16 +0000 (+0100) Subject: Split brain: Check that archive supports "maint", earlier X-Git-Tag: archive/debian/2.0~107 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=22c277709304504b81ee28bd70a48a47b6b4c7e5 Split brain: Check that archive supports "maint", earlier Otherwise the user will be disappointed shortly. Signed-off-by: Ian Jackson --- diff --git a/TODO.BRANCH b/TODO.BRANCH index 141a3aab..f5261ed9 100644 --- a/TODO.BRANCH +++ b/TODO.BRANCH @@ -1,11 +1,4 @@ -SPLIT BRAIN - - * Check archive allegedly supports split brain mode before running - off into the weeds and crashing out in the push. - - - OTHER * Better import format for complex .dscs diff --git a/dgit b/dgit index 5a373630..0cf854d3 100755 --- a/dgit +++ b/dgit @@ -3696,6 +3696,16 @@ sub build_maybe_quilt_fixup () { check_for_vendor_patches(); + if (quiltmode_splitbrain) { + foreach my $needtf (qw(new maint)) { + next if grep { $_ eq $needtf } access_cfg_tagformats; + fail <