[MERGE] (fixes 239523) bzr tag and other builtins respect --quiet

Neil Martinsen-Burrell nmb at wartburg.edu
Sat Jun 21 22:01:14 BST 2008


Following the trivial bug theme, but letting this one get a bit more out 
of hand, the attached patch makes everything in bzrlib/builtins.py that 
isn't an informational command respect the --quiet option (if it didn't 
already).  I added blackbox tests for --quiet where I made changes, but 
not across the board.

Note that a lot of this could have been avoided in one fell swoop by 
redefining self.outf depending on the is_quiet() options, but since "if 
not is_quiet()" seemed to be the idiom present in builtins.py, I 
followed it.  Certainly changing self.outf has farther reaching 
consequences than just these commands, but I figured I'd mention it.

-Neil

-- 
"Mathematicians create by acts of insights and intuition.  Logic then
sanctions the conquests of intuition."
   -- Morris Kline

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: quiet-builtins.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080621/f235d155/attachment-0001.diff 


More information about the bazaar mailing list