diff -r 2ad527f7d27a -r 5c9bdfb32eac mercurial/commands.py --- a/mercurial/commands.py Tue Feb 13 13:50:24 2018 -0800 +++ b/mercurial/commands.py Tue Feb 13 14:15:29 2018 -0800 @@ -3491,8 +3491,8 @@ if not node: node = rev - char = {'l': '@', 'x': '*', '': ''} - mode = {'l': '644', 'x': '755', '': '644'} + char = {'l': '@', 'x': '*', '': '', 't': 'd'} + mode = {'l': '644', 'x': '755', '': '644', 't': '755'} if node: repo = scmutil.unhidehashlikerevs(repo, [node], 'nowarn') ctx = scmutil.revsingle(repo, node)