* Document that tags are in DEP-14 format, and that they
are used for authenticating pushes.
* Correct manpage cross-reference to point to browse.d.d.o.
+ * Honour *.clean-mode configuration setting for --clean= mode.
--
$quilt_mode = $1;
}
-$cleanmode //= 'dpkg-source';
+if (!defined $cleanmode) {
+ local $access_forpush;
+ $cleanmode = access_cfg('clean-mode', 'RETURN-UNDEF');
+ $cleanmode //= 'dpkg-source';
+
+ badcfg "unknown clean-mode \`$cleanmode'" unless
+ $cleanmode =~ m/^($cleanmode_re)$(?!\n)/s;
+}
my $fn = ${*::}{"cmd_$cmd"};
$fn or badusage "unknown operation $cmd";
.BI dgit.default.distro " distro"
The default distro for an unknown suite.
.TP
+.BR dgit-distro. \fIdistro\fR .clean-mode
+One of the values for the command line --clean= option; used if
+--clean is not specified.
+.TP
.BR dgit-distro. \fIdistro\fR .readonly " " auto | a " | " true | t | y | 1 " | " false | f | n | 0
Whether you have push access to the distro.
For Debian, it is OK to use auto, which uses readonly mode if you are