Mercurial > hg > mutable-history
changeset 335:c27a465daef2 stable
obsolete: fix obsolete marker creation error message
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Wed, 04 Jul 2012 16:27:08 +0200 |
parents | fb83210bce32 |
children | 7db8107eef30 |
files | hgext/obsolete.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/obsolete.py +++ b/hgext/obsolete.py @@ -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)