diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-02-15 18:32:49 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-03-22 15:18:52 +0000 |
commit | 1f0e14f2af07576c71e674a946b84f60f594e653 (patch) | |
tree | 172c640ed403ca2654bc8fac747ea684f0602d05 /dgit | |
parent | 7efe0539417015b5b0da6549dd79b411536bbd7d (diff) |
Introduce Debian/Dgit.pm
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -33,6 +33,8 @@ use Digest::SHA; use Digest::MD5; use Config; +use Debian::Dgit; + our $our_version = 'UNRELEASED'; ###substituted### our $rpushprotovsn = 2; @@ -110,11 +112,6 @@ my $lbranch_re = '^refs/heads/'.$branchprefix.'/([^/.]+)$'; sub lref () { return "refs/heads/".lbranch(); } sub lrref () { return "refs/remotes/$remotename/$branchprefix/$csuite"; } sub rrref () { return "refs/$branchprefix/$csuite"; } -sub debiantag ($) { - my ($v) = @_; - $v =~ y/~:/_%/; - return "debian/$v"; -} sub stripepoch ($) { my ($vsn) = @_; |