diff -r b95b9fd7ba29 -r ff6b5b058fa0 mercurial/commands.py --- a/mercurial/commands.py Sun Jan 11 23:25:23 2015 -0500 +++ b/mercurial/commands.py Fri Jan 09 18:38:02 2015 +0100 @@ -2895,12 +2895,7 @@ for file_, ent in sorted(repo.dirstate._map.iteritems(), key=keyfunc): if showdate: if ent[3] == -1: - # Pad or slice to locale representation - locale_len = len(time.strftime("%Y-%m-%d %H:%M:%S ", - time.localtime(0))) - timestr = 'unset' - timestr = (timestr[:locale_len] + - ' ' * (locale_len - len(timestr))) + timestr = 'unset ' else: timestr = time.strftime("%Y-%m-%d %H:%M:%S ", time.localtime(ent[3]))