# HG changeset patch # User Matt Mackall # Date 2012-07-01 18:10:54 # Node ID b013baa3898e117959984fc64c29d8c784d2f28b # Parent b335759e045426da7f6d80c0ace14d6a84dffdaf record: fix display of non-ASCII names spotted by Nikolaj Sjujskij diff --git a/hgext/record.py b/hgext/record.py --- a/hgext/record.py +++ b/hgext/record.py @@ -380,7 +380,7 @@ the hunk is left unchanged. 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