changeset 17081:b013baa3898e stable 2.2.3

record: fix display of non-ASCII names spotted by Nikolaj Sjujskij
author Matt Mackall <mpm@selenic.com>
date Sun, 01 Jul 2012 13:10:54 -0500
parents b335759e0454
children 46bbf9a2fb18
files hgext/record.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/record.py	Sun Jul 01 08:09:00 2012 -0300
+++ b/hgext/record.py	Sun Jul 01 13:10:54 2012 -0500
@@ -380,7 +380,7 @@
         if skipall is None:
             h.pretty(ui)
         msg = (_('examine changes to %s?') %
-               _(' and ').join(map(repr, h.files())))
+               _(' and ').join("'%s'" % f for f in h.files()))
         r, skipfile, skipall, np = prompt(skipfile, skipall, msg, None)
         if not r:
             continue