From 96497db9420defe57ed658070eae51f0bf565165 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 12 Mar 2014 18:03:00 +0000 Subject: [PATCH] dgit-repos-server: call tag tags "headers" in error messages --- dgit-repos-server | 4 ++-- tests/tests/drs-push-rejects | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dgit-repos-server b/dgit-repos-server index 49fa795d..3e74217a 100755 --- a/dgit-repos-server +++ b/dgit-repos-server @@ -456,8 +456,8 @@ sub checksuite () { sub tagh1 ($) { my ($tag) = @_; my $vals = $tagh{$tag}; - reject "missing tag $tag in signed tag object" unless $vals; - reject "multiple tags $tag in signed tag object" unless @$vals == 1; + reject "missing header $tag in signed tag object" unless $vals; + reject "multiple headers $tag in signed tag object" unless @$vals == 1; return $vals->[0]; } diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index c7704091..73de5eca 100755 --- a/tests/tests/drs-push-rejects +++ b/tests/tests/drs-push-rejects @@ -94,8 +94,8 @@ mustfail 'pushing multiple tags' $push_spec HEAD:refs/tags/debian/wombat # fixme: # reject "unknown suite"; -# reject "missing tag $tag in signed tag object" unless $vals; -# reject "multiple tags $tag in signed tag object" unless @$vals == 1; +# reject "missing header $tag in signed tag object" unless $vals; +# reject "multiple headers $tag in signed tag object" unless @$vals == 1; # or reject "command string not understood"; # reject "unknown method" unless $mainfunc; -- 2.30.2