[PATCH 3 of 3 v2] progress: refactor for readability and show XXs instead of 0mXXs
timeless
timeless at gmail.com
Wed Dec 15 05:04:24 CST 2010
On Tue, Dec 14, 2010 at 7:58 AM, Augie Fackler <durin42 at gmail.com> wrote:
> progress: refactor for readability and show XXs instead of 0mXXs.
> +def fmtremaining(seconds):
> + if seconds < 60:
> + return _("%02ds") % (seconds)
This is unfortunate, it should really just be _("%ds") % (seconds), at
least for en-US.
I'll send a patch for this later.
More information about the Mercurial-devel
mailing list