Mercurial > hg-stable
changeset 17253:67f56ff5afcd stable
obsolete: fix decoding error message arguments
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 26 Jul 2012 16:21:43 +0200 |
parents | 16fad7323e56 |
children | 0deb66d4ad81 |
files | mercurial/obsolete.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/obsolete.py Tue Jul 24 21:20:56 2012 +0200 +++ b/mercurial/obsolete.py Thu Jul 26 16:21:43 2012 +0200 @@ -96,7 +96,7 @@ if len(metadata) != mdsize: raise util.Abort(_('parsing obsolete marker: metadata is too ' 'short, %d bytes expected, got %d') - % (len(metadata), mdsize)) + % (mdsize, len(metadata))) off += mdsize yield (pre, sucs, flags, metadata)