From: Ian Jackson Date: Wed, 12 Mar 2014 18:03:00 +0000 (+0000) Subject: dgit-repos-server: call tag tags "headers" in error messages X-Git-Tag: debian/0.22~42 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=96497db9420defe57ed658070eae51f0bf565165;p=dgit.git dgit-repos-server: call tag tags "headers" in error messages --- 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;