diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -948,6 +948,9 @@ def shortuser(user): f = user.find('<') if f >= 0: user = user[f+1:] + f = user.find(' ') + if f >= 0: + user = user[:f] return user def walkrepos(path):