changeset 3152:15d585dcdd1c

context: change filectx repr to use @ Avoids confusion with rev:nodeid syntax used elsewhere
author Matt Mackall <mpm@selenic.com>
date Mon, 25 Sep 2006 16:43:21 -0500
parents 6719b3dd7d50
children c82ea81d6850
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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