diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-04-10 17:44:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-04-10 17:44:40 -0400 |
commit | b698bf24082b2de96dc7bba92ecfbc20e650c0ea (patch) | |
tree | 7bfa3be090186adb43153ab5da3bbad34a23a55b | |
parent | e4395a567b95d4adeda54add09faf180cf29ee76 (diff) |
Use bzr --quiet to avoid it outputting stuff and messing up http headers. (Scott Bronson)
-rw-r--r-- | IkiWiki/Rcs/bzr.pm | 6 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | doc/todo/quieten-bzr.mdwn | 5 |
3 files changed, 10 insertions, 3 deletions
diff --git a/IkiWiki/Rcs/bzr.pm b/IkiWiki/Rcs/bzr.pm index 7ab2fd2c5..af311fab8 100644 --- a/IkiWiki/Rcs/bzr.pm +++ b/IkiWiki/Rcs/bzr.pm @@ -43,7 +43,7 @@ sub bzr_log ($) { #{{{ } #}}} sub rcs_update () { #{{{ - my @cmdline = ("bzr", "update", $config{srcdir}); + my @cmdline = ("bzr", "update", "--quiet", $config{srcdir}); if (system(@cmdline) != 0) { warn "'@cmdline' failed: $!"; } @@ -71,7 +71,7 @@ sub rcs_commit ($$$;$$) { #{{{ $message = "no message given"; } - my @cmdline = ("bzr", "commit", "-m", $message, "--author", $user, + my @cmdline = ("bzr", "commit", "--quiet", "-m", $message, "--author", $user, $config{srcdir}."/".$file); if (system(@cmdline) != 0) { warn "'@cmdline' failed: $!"; @@ -83,7 +83,7 @@ sub rcs_commit ($$$;$$) { #{{{ sub rcs_add ($) { # {{{ my ($file) = @_; - my @cmdline = ("bzr", "add", "$config{srcdir}/$file"); + my @cmdline = ("bzr", "add", "--quiet", "$config{srcdir}/$file"); if (system(@cmdline) != 0) { warn "'@cmdline' failed: $!"; } diff --git a/debian/changelog b/debian/changelog index 5db99a2fb..923506481 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ ikiwiki (2.43) UNRELEASED; urgency=low * Fix missing import of escapeHTML in userlink. (Scott Bronson) * Fix broken rcs_update for bzr. (Scott Bronson) + * Use bzr --quiet to avoid it outputting stuff and messing up http headers. + (Scott Bronson) -- Joey Hess <joeyh@debian.org> Thu, 10 Apr 2008 17:36:53 -0400 diff --git a/doc/todo/quieten-bzr.mdwn b/doc/todo/quieten-bzr.mdwn index f5f00b0a3..11ce139b4 100644 --- a/doc/todo/quieten-bzr.mdwn +++ b/doc/todo/quieten-bzr.mdwn @@ -21,3 +21,8 @@ The fix is simply to call `bzr` with the _--quiet_ switch. Something like this a [[tag patch]] + +> [[done]], although I left off the escapeHTML thing which seems to be in +> your patch by accident. +> +> (Please use diff -u BTW..) --[[Joey]] |