##// END OF EJS Templates
context: change workingctx str() from . to <node>+
Matt Mackall -
r3313:6c68bc1e default
parent child Browse files
Show More
@@ -330,7 +330,7 b' class workingctx(changectx):'
330 self._node = None
330 self._node = None
331
331
332 def __str__(self):
332 def __str__(self):
333 return "."
333 return str(self._parents[0]) + "+"
334
334
335 def __nonzero__(self):
335 def __nonzero__(self):
336 return True
336 return True
@@ -430,7 +430,7 b' class workingfilectx(filectx):'
430 return True
430 return True
431
431
432 def __str__(self):
432 def __str__(self):
433 return "%s@." % self.path()
433 return "%s@%s" % (self.path(), self._changectx)
434
434
435 def filectx(self, fileid):
435 def filectx(self, fileid):
436 '''opens an arbitrary revision of the file without
436 '''opens an arbitrary revision of the file without
General Comments 0
You need to be logged in to leave comments. Login now