summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-02-15 18:32:49 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-03-22 15:18:52 +0000
commit1f0e14f2af07576c71e674a946b84f60f594e653 (patch)
tree172c640ed403ca2654bc8fac747ea684f0602d05 /dgit
parent7efe0539417015b5b0da6549dd79b411536bbd7d (diff)
Introduce Debian/Dgit.pm
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit7
1 files changed, 2 insertions, 5 deletions
diff --git a/dgit b/dgit
index 02ed55d..bd8507c 100755
--- a/dgit
+++ b/dgit
@@ -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) = @_;