[MERGE] ``BZR_LOG=disable`` suppresses writing messages to .bzr.log.
Alexander Belchenko
bialix at ukr.net
Wed Feb 6 10:14:39 GMT 2008
Ian Clatworthy пишет:
> Alexander Belchenko wrote:
>> Here is another version.
>> $BZR_LOG used to specify path for .bzr.log.
>> If $BZR_LOG is /dev/null (Linux) or NUL (Windows) we are suppress log.
>
> bb:tweak
>
> The approach and code are fine IMO.
>
> My only suggestion is that the one line of help added to
> help_topics/__init__.py be expanded to 2 ala BZR_HOME. As the help
> currently reads, a naive user might think that specifying /dev/null or
> NUL suppresses the log, regardless of OS.
Here is final version of my patch, with blackbox tests for version command,
and tweaked help topic. Also I follow suggestion to use /dev/null or NUL
as real filenames. I hope their impact on performance is really negligible.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disable.bzr.log.v3.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080206/b5994fa9/attachment-0001.diff
More information about the bazaar
mailing list