Mercurial > hg
changeset 3313:6c68bc1e7873
context: change workingctx str() from . to <node>+
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 10 Oct 2006 02:11:59 -0500 |
parents | c5075ad5e3e9 |
children | b16456909a0a |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Tue Oct 10 01:43:58 2006 -0500 +++ b/mercurial/context.py Tue Oct 10 02:11:59 2006 -0500 @@ -330,7 +330,7 @@ self._node = None def __str__(self): - return "." + return str(self._parents[0]) + "+" def __nonzero__(self): return True @@ -430,7 +430,7 @@ return True def __str__(self): - return "%s@." % self.path() + return "%s@%s" % (self.path(), self._changectx) def filectx(self, fileid): '''opens an arbitrary revision of the file without