[PATCH] blackbox: add configitem for format of log timestamps
Yuya Nishihara
yuya at tcha.org
Wed Oct 24 07:10:26 EDT 2018
On Tue, 23 Oct 2018 13:49:41 -0700, Matthew DeVore wrote:
> From: Matt DeVore <matvore at google.com>
>
> My e-mail client was mangling spaces, which is why you couldn't apply the
> patch earlier. I'm sending this again with a different tool and e-mail address.
> --------------------------------------------------------------------------------
>
> # HG changeset patch
> # User Matt DeVore <matvore at google.com>
> # Date 1539816481 25200
> # Wed Oct 17 15:48:01 2018 -0700
> # Node ID 13c2fe6d3b30a743daa1984404a70ed769779d11
> # Parent a0e7fa019290d5348c4a83f6b287f2612d645025
> blackbox: add configitem for format of log timestamps
Queued, thanks.
You can use Phabricator to submit patches. I don't like it, but it'll be
a better option if your email environment is restricted.
https://www.mercurial-scm.org/wiki/ContributingChanges#Sending_patches
> @@ -169,7 +177,9 @@ def wrapui(ui):
> return
> ui._bbinlog = True
> default = self.configdate('devel', 'default-date')
> - date = dateutil.datestr(default, '%Y/%m/%d %H:%M:%S')
> + format = ui.config('blackbox', 'date-format')
Removed unused variable.
> + date = dateutil.datestr(default,
> + ui.config('blackbox', 'date-format'))
More information about the Mercurial-devel
mailing list