chiark / gitweb /
Introduce dep14_version_quote
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 983f97c55b8ae3d4c002b07657107e363c508064..f1d59f61b3052dbdb188d5ab64902eec9df565a4 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -171,8 +171,7 @@ sub debiantag ($$) {
 
 sub debiantag_maintview ($$) { 
     my ($v,$distro) = @_;
-    $v =~ y/~:/_%/;
-    return "$distro/$v";
+    return "$distro/".dep14_version_mangle $v;
 }
 
 sub madformat ($) { $_[0] eq '3.0 (quilt)' }