mq: __str__ falls back to __repr__
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 17 Jun 2010 15:53:26 +0200
changeset 11375 0f33abfccaa1
parent 11374 e291c039d8ec
child 11376 ad764a6a2eed
mq: __str__ falls back to __repr__
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):