record: fix display of non-ASCII names stable 2.2.3
authorMatt Mackall <mpm@selenic.com>
Sun, 01 Jul 2012 13:10:54 -0500
branchstable
changeset 17081 b013baa3898e
parent 17080 b335759e0454
child 17082 46bbf9a2fb18
record: fix display of non-ASCII names spotted by Nikolaj Sjujskij
hgext/record.py
--- 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