author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
Wed, 04 Jul 2012 16:27:08 +0200 | |
branch | stable |
changeset 335 | c27a465daef2 |
parent 334 | fb83210bce32 |
child 336 | 7db8107eef30 |
hgext/obsolete.py | file | annotate | diff | comparison | revisions |
--- a/hgext/obsolete.py Tue Jul 03 12:58:55 2012 +0200 +++ b/hgext/obsolete.py Wed Jul 04 16:27:08 2012 +0200 @@ -856,10 +856,10 @@ if metadata is None: metadata = {} if len(prec) != 20: - raise ValueError(prec) + raise ValueError(repr(prec)) for succ in succs: if len(succ) != 20: - raise ValueError(prec) + raise ValueError((succs)) marker = (str(prec), tuple(succs), int(flag), encodemeta(metadata)) self.add(marker)