Mercurial > public > mercurial-scm > hg
diff hgext/remotefilelog/debugcommands.py @ 43080:86e4daa2d54c
cleanup: mark some ui.(status|note|warn|write) calls as not needing i18n
These used to be marked with no-op parens, but black removes those now
and this is more explicit.
# skip-blame: fallout from mass reformatting
Differential Revision: https://phab.mercurial-scm.org/D6996
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 06 Oct 2019 10:51:16 -0400 |
parents | 687b865b95ad |
children | eef9a2d67051 |
line wrap: on
line diff
--- a/hgext/remotefilelog/debugcommands.py Sun Oct 06 10:10:14 2019 -0400 +++ b/hgext/remotefilelog/debugcommands.py Sun Oct 06 10:51:16 2019 -0400 @@ -187,7 +187,7 @@ r = buildtemprevlog(repo, os.path.basename(file_)[:-2]) - ui.write(b"digraph G {\n") + ui.writenoi18n(b"digraph G {\n") for i in r: node = r.node(i) pp = r.parents(node) @@ -289,7 +289,7 @@ (b"smaller" if difference > 0 else b"bigger"), ) - ui.write( + ui.writenoi18n( b"Total:%s%s %s (%s)\n" % ( b"".ljust(2 * hashlen - len(b"Total:")),