chistedit: improve proper username in histedit curses interface
authorAkshit Jain <Akshjain.jain74@gmail.com>
Thu, 14 Feb 2019 20:57:26 +0530
changeset 41701 df1f3ba56157
parent 41700 1f44bfab0fff
child 41702 a22321f2b1ee
chistedit: improve proper username in histedit curses interface in changeset section (issue6072) Differential Revision: https://phab.mercurial-scm.org/D5967
hgext/histedit.py
--- 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())