X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit;fp=dgit;h=56b2ee957e7c95f3a2eba328969df95843565c4f;hp=6f240ab0517de64ad24ff7abe29de44e8382ef5e;hb=272a3704ff3cc3d3fbb2df40a953068160b9f44b;hpb=db8abe2a9751ce42afecb482fa0203ea6e538bbb diff --git a/dgit b/dgit index 6f240ab0..56b2ee95 100755 --- a/dgit +++ b/dgit @@ -102,6 +102,7 @@ our %forceopts = map { $_=>0 } qw(unrepresentable unsupported-source-format dsc-changes-mismatch changes-origs-exactly uploading-binaries uploading-source-only + reusing-version import-gitapply-absurd import-gitapply-no-absurd import-dsc-with-dgit-field); @@ -4601,6 +4602,20 @@ END confess unless !!$made_split_brain == do_split_brain(); + my $tagname = debiantag_new $cversion, access_nomdistro(); + if (!(forceing[qw(reusing-version)]) && git_get_ref "refs/tags/$tagname") { + supplementary_message ''; + print STDERR f_ <