obsolete: add '%' specifier to the format string to avoid TypeError at runtime
Mapping operation on the format string not including any '%'
specifiers causes TypeError at runtime.
--- a/mercurial/obsolete.py Wed Apr 16 03:05:00 2014 +0900
+++ b/mercurial/obsolete.py Wed Apr 16 03:05:00 2014 +0900
@@ -385,7 +385,7 @@
repo.ui.warn(_('unknown key: %r') % key)
return 0
if old:
- repo.ui.warn(_('unexpected old value') % key)
+ repo.ui.warn(_('unexpected old value for %r') % key)
return 0
data = base85.b85decode(new)
lock = repo.lock()