Coloured diff/log by default

Russ Brown pickscrape at gmail.com
Fri May 15 13:47:40 BST 2009


On 05/15/2009 02:07 AM, Daniel Clemente wrote:
> El dj, mai 14 2009, Russ Brown va escriure:
>>>     I submitted a bug to track this: https://bugs.launchpad.net/bzr/+bug/376594
>>>
>>>     I will try to do a first patch next week; if anyone does it before, much better.
>>>
>>
>> Good luck with this, but to avoid wasting time try to avoid making the same
>> mistakes that I did:
>>
>> http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/45055
>> http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/45340
>>
>
>    Thanks. Your goals:
>>
>>   1. A common, consistent way for the user to enable/disable coloured
>>     output for any command (i.e. color=always/auto/never)
>>   2. A common library for colouring up terminal output that is cross
>>      platform (including win32), has capability detection, and is
>>      available to all commands and plugins to use
>>   3. A common, consistent way for users to customise the colours used for
>>      all commands.
>>
>
>    are maybe too ambitious, at least for me. I think a first step is to include just cdiff's code into diff. Other commands, customization, interoperability, etc. will come after that.
>

My biggest problem with just importing cdiff was the style checker 
stuff. I cannot see how such a thing belongs in the core of a version 
control system.

To me, that ideally belongs in a separate, comprehensive and highly 
configurable plugin all to itself.



More information about the bazaar mailing list