Mercurial > hg
comparison tests/test-issue1089.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 | f2719b387380 |
children | 2fc86d92c4a9 |
comparison
equal
deleted
inserted
replaced
21957:2122b82b6987 | 21958:9663a7855798 |
---|