From 26f2213a36af62d526a41ad96caef7f3c4aa507a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 Jul 2016 13:51:46 +0100 Subject: Tag change: Rename debiantag to debiantag_old We are going to change the tag name of the main signed tag used by dgit to signal the user's intent to the archive server. Prepare for this by changing debiantag to debiantag_old and changing all call sites outside dgit itself. dgit will want to be able to generate either, depending on whether it's cooperating in an rpush with a new or old dgit so reintroduce a wrapper called debiantag there. This will also allow us to have dgit generate old tags for testing. No functional change. Signed-off-by: Ian Jackson --- Debian/Dgit.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Debian/Dgit.pm') diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index cb4a599..979dd42 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -19,7 +19,7 @@ BEGIN { $VERSION = 1.00; @ISA = qw(Exporter); @EXPORT = qw(setup_sigwarn - debiantag server_branch server_ref + debiantag_old server_branch server_ref stat_exists link_ltarget hashfile fail ensuredir executable_on_path @@ -125,7 +125,7 @@ sub debugcmd { printcmd(\*DEBUG,$debugprefix.$extraprefix,@_) if $debuglevel>0; } -sub debiantag ($$) { +sub debiantag_old ($$) { my ($v,$distro) = @_; $v =~ y/~:/_%/; return "$distro/$v"; -- cgit v1.2.3