context: change filectx repr to use @
authorMatt Mackall <mpm@selenic.com>
Mon, 25 Sep 2006 16:43:21 -0500
changeset 3152 15d585dcdd1c
parent 3151 6719b3dd7d50
child 3153 c82ea81d6850
context: change filectx repr to use @ Avoids confusion with rev:nodeid syntax used elsewhere
mercurial/context.py
--- a/mercurial/context.py	Fri Sep 22 16:12:39 2006 -0500
+++ b/mercurial/context.py	Mon Sep 25 16:43:21 2006 -0500
@@ -124,7 +124,7 @@
             raise AttributeError, name
 
     def __repr__(self):
-        return "<filectx %s:%s>" % (self.path(), short(self.node()))
+        return "<filectx %s@%s>" % (self.path(), short(self.node()))
 
     def filerev(self): return self._filerev
     def filenode(self): return self._filenode