chiark / gitweb /
dgit: Tidying up after tag format: drop ..._can_splitbrain
[dgit.git] / dgit
diff --git a/dgit b/dgit
index b95cb57c49762c0c68abbacf7308b53003047ec8..46a7ffc7f21257c513ce1af51aa21acca1cc2394 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1677,13 +1677,6 @@ sub archive_query_dummycat ($$) {
 sub file_in_archive_dummycat () { return undef; }
 sub package_not_wholly_new_dummycat () { return undef; }
 
-#---------- tag format handling ----------
-# (untranslated, because everything should be new tag format by now)
-
-sub access_cfg_tagformats_can_splitbrain () {
-    1
-}
-
 #---------- archive query entrypoints and rest of program ----------
 
 sub canonicalise_suite () {
@@ -4278,13 +4271,9 @@ sub push_tagwants ($$$$) {
             View => 'maint',
         };
     } elsif ($dodep14tag eq 'no' ? 0
-            : $dodep14tag eq 'want' ? access_cfg_tagformats_can_splitbrain
-            : $dodep14tag eq 'always'
-            ? (access_cfg_tagformats_can_splitbrain or fail <<END)
---dep14tag-always (or equivalent in config) means server must support
- both "new" and "maint" tag formats, but config says it doesn't.
-END
-           : die "$dodep14tag ?") {
+            : $dodep14tag eq 'want' ? 1
+            : $dodep14tag eq 'always' ? 1
+            : die "$dodep14tag ?") {
        push @tagwants, {
            TagFn => \&debiantag_maintview,
            Objid => $dgithead,
@@ -5822,13 +5811,6 @@ sub build_maybe_quilt_fixup () {
 
 sub build_check_quilt_splitbrain () {
     build_maybe_quilt_fixup();
-
-    if ($do_split_brain) {
-       fail <<END unless access_cfg_tagformats_can_splitbrain;
-quilt mode $quilt_mode requires split view so server needs to support
- both "new" and "maint" tag formats, but config says it doesn't.
-END
-    }
 }
 
 sub unpack_playtree_need_cd_work ($) {