# HG changeset patch # User Dirkjan Ochtman # Date 1276782806 -7200 # Node ID 0f33abfccaa1bdaf2b1851013a8f5f59e90d3a9a # Parent e291c039d8ec226ef1daf7b7cf3fdcbe95cde8bb mq: __str__ falls back to __repr__ diff -r e291c039d8ec -r 0f33abfccaa1 hgext/mq.py --- a/hgext/mq.py Thu Jun 17 12:22:21 2010 -0500 +++ b/hgext/mq.py Thu Jun 17 15:53:26 2010 +0200 @@ -58,8 +58,7 @@ class statusentry(object): def __init__(self, node, name): self.node, self.name = node, name - - def __str__(self): + def __repr__(self): return hex(self.node) + ':' + self.name class patchheader(object):