Mercurial > hg-stable
diff mercurial/obsolete.py @ 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 | bdac214a4705 |
children | 1f08ecc7febb |
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)