diff tests/test-obsolete.t @ 21958:9663a7855798 stable

convert: fix argument mismatch at formatting the abort message This patch fixes argument mismatch at formatting the abort message, introduced by a204fd9b5ba9: the last '%s' doesn't have corresponded argument. This patch uses "unexpected size" in the abort message, to distinguish the reason of failure from "unexpected type" failure checked in the prior code path below: if info[1] != type: raise util.Abort(_('cannot read %r object at %s') % (type, rev))
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 01 Aug 2014 02:14:24 +0900
parents 925d1bb9a971
children c21c1c8c2017 a56038e6a3c9
line wrap: on
line diff