* Applied a patch from Michał to make the mercurial backend pass --quiet to

hg.
master
joey 2007-03-18 22:20:44 +00:00
parent 62aecc19f0
commit cb0c642aed
3 changed files with 7 additions and 3 deletions

View File

@ -55,7 +55,7 @@ sub mercurial_log($) {
}
sub rcs_update () { #{{{
my @cmdline = ("hg", "-R", "$config{srcdir}", "update");
my @cmdline = ("hg", "-q", "-R", "$config{srcdir}", "update");
if (system(@cmdline) != 0) {
warn "'@cmdline' failed: $!";
}
@ -80,7 +80,7 @@ sub rcs_commit ($$$;$$) { #{{{
$message = possibly_foolish_untaint($message);
my @cmdline = ("hg", "-R", "$config{srcdir}", "commit",
my @cmdline = ("hg", "-q", "-R", "$config{srcdir}", "commit",
"-m", "$message", "-u", "$user");
if (system(@cmdline) != 0) {
warn "'@cmdline' failed: $!";
@ -92,7 +92,7 @@ sub rcs_commit ($$$;$$) { #{{{
sub rcs_add ($) { # {{{
my ($file) = @_;
my @cmdline = ("hg", "-R", "$config{srcdir}", "add", "$file");
my @cmdline = ("hg", "-q", "-R", "$config{srcdir}", "add", "$file");
if (system(@cmdline) != 0) {
warn "'@cmdline' failed: $!";
}

2
debian/changelog vendored
View File

@ -10,6 +10,8 @@ ikiwiki (1.46) UNRELEASED; urgency=low
output the verbose build log to stdout, rather than to the syslog.
* Detect the case of two people independently creating the same page at the
same time, and let the second person resolve the conflict.
* Applied a patch from Michał to make the mercurial backend pass --quiet to
hg.
-- Joey Hess <joeyh@debian.org> Sat, 17 Mar 2007 19:56:04 -0400

View File

@ -30,3 +30,5 @@ messages which are then taken for CGI output, causing errors and general trouble
if (system(@cmdline) != 0) {
warn "'@cmdline' failed: $!";
}
Thanks much for the patch. [[bugs/done]] --[[Joey]]