X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=infra%2Fdgit-repos-policy-debian;h=ad21564383ff979aa2f608e7626d04131e1128e8;hp=990abd2b9b82f90f958bf44f91cca99b8c288772;hb=HEAD;hpb=39988196301013320ba7c93cbd9146c27bd51453 diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian index 990abd2b..ad215643 100755 --- a/infra/dgit-repos-policy-debian +++ b/infra/dgit-repos-policy-debian @@ -1,7 +1,7 @@ #!/usr/bin/perl -w # dgit repos policy hook script for Debian # -# Copyright (C) 2015-2016 Ian Jackson +# Copyright (C) 2015-2019 Ian Jackson # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -334,10 +334,19 @@ sub action_push () { if (deliberately('include-questionable-history')) { return 0; } - die "\nPackage is in NEW and has not been accepted or rejected yet;". - " use a --deliberately option to specify whether you are". - " keeping or discarding the previously pushed history. ". - " Please RTFM dgit(1).\n\n"; + die <prepare(<commit; + printdebug "poldbh commit\n"; }; last unless length $@; die $@ unless ref $@ eq $db_busy_exception;