[PATCH 1 of 7] blackbox: log working directory version

timeless timeless at gmail.com
Wed Feb 10 08:42:19 EST 2016


ok. sadly, this series is waiting for someone to flush my changes.

On Wed, Feb 10, 2016 at 8:20 AM, Yuya Nishihara <yuya at tcha.org> wrote:
> On Tue, 9 Feb 2016 14:47:39 -0500, timeless wrote:
>> Yuya Nishihara wrote:
>> > It seems awkward to create a formatter just to select hex/short func.
>>
>> Not quite fun, no, but, that's the way the code works, it means if
>> someone wants --debug, they can get the long things.
>
> Why not do it without a formatter?
>
>   if ui.debugflag:
>       hex
>   else:
>       short
>
> fm.hexfunc is provided because it is quite common where formatter is used
> and it have to be switched by formatter type, i.e. -T option.


More information about the Mercurial-devel mailing list