changeset 11375:0f33abfccaa1

mq: __str__ falls back to __repr__
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 17 Jun 2010 15:53:26 +0200
parents e291c039d8ec
children ad764a6a2eed
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):