chiark / gitweb /
wip changes for remote push - implement i_localname_*
[dgit.git] / dgit
diff --git a/dgit b/dgit
index eb6f01d..83bed54 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1436,6 +1436,17 @@ sub i_resp_want ($) {
     print RI "end-files\n" or die $!;
 }
 
+our ($i_clogp, $i_version, $i_tag, $i_dscfn);
+
+sub i_localname_parsed_changelog { return "remote-changelog.822"; }
+sub i_localname_changes { return "remote.changes"; }
+sub i_localname_dsc {
+    ($i_clogp, $i_version, $i_tag, $i_dscfn) =
+       push_parse_changelog 'remote-changelog.822';
+    die if $i_dscfn =~ m#/|^\W#;
+    return $dscfn;
+}
+
 #---------- building etc. ----------
 
 our $version;