Patchwork D5967: chistedit: improve proper username in histedit curses interfacein changeset section (issue6072)

login
register
mail settings
Submitter phabricator
Date Feb. 14, 2019, 9:25 p.m.
Message ID <8514b17c0240bf68596e5b9ef94fb350@localhost.localdomain>
Download mbox | patch
Permalink /patch/38754/
State Not Applicable
Headers show

Comments

phabricator - Feb. 14, 2019, 9:25 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGdf1f3ba56157: chistedit: improve proper username in histedit curses interface (authored by akshjain.jain74, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5967?vs=14097&id=14098

REVISION DETAIL
  https://phab.mercurial-scm.org/D5967

AFFECTED FILES
  hgext/histedit.py

CHANGE DETAILS




To: akshjain.jain74, durin42, #hg-reviewers, martinvonz
Cc: martinvonz, mercurial-devel

Patch

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -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())