changeset 41701:df1f3ba56157

chistedit: improve proper username in histedit curses interface in changeset section (issue6072) Differential Revision: https://phab.mercurial-scm.org/D5967
author Akshit Jain <Akshjain.jain74@gmail.com>
date Thu, 14 Feb 2019 20:57:26 +0530
parents 1f44bfab0fff
children a22321f2b1ee
files hgext/histedit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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())