chistedit: improve proper username in histedit curses interface
in changeset section (
issue6072)
Differential Revision: https://phab.mercurial-scm.org/D5967
--- a/hgext/histedit.py Thu Feb 14 10:41:47 2019 -0500
+++ b/hgext/histedit.py Thu Feb 14 20:57:26 2019 +0530
@@ -1260,7 +1260,7 @@
line = "changeset: {0}:{1:<12}".format(ctx.rev(), ctx)
win.addstr(1, 1, line[:length])
- line = "user: {0}".format(stringutil.shortuser(ctx.user()))
+ line = "user: {0}".format(ctx.user())
win.addstr(2, 1, line[:length])
bms = repo.nodebookmarks(ctx.node())