Show More
@@ -603,6 +603,9 b' class workingctx(changectx):' | |||||
603 | def __str__(self): |
|
603 | def __str__(self): | |
604 | return str(self._parents[0]) + "+" |
|
604 | return str(self._parents[0]) + "+" | |
605 |
|
605 | |||
|
606 | def __repr__(self): | |||
|
607 | return "<workingctx %s>" % str(self) | |||
|
608 | ||||
606 | def __nonzero__(self): |
|
609 | def __nonzero__(self): | |
607 | return True |
|
610 | return True | |
608 |
|
611 | |||
@@ -897,6 +900,9 b' class workingfilectx(filectx):' | |||||
897 | def __str__(self): |
|
900 | def __str__(self): | |
898 | return "%s@%s" % (self.path(), self._changectx) |
|
901 | return "%s@%s" % (self.path(), self._changectx) | |
899 |
|
902 | |||
|
903 | def __repr__(self): | |||
|
904 | return "<workingfilectx %s>" % str(self) | |||
|
905 | ||||
900 | def data(self): |
|
906 | def data(self): | |
901 | return self._repo.wread(self._path) |
|
907 | return self._repo.wread(self._path) | |
902 | def renamed(self): |
|
908 | def renamed(self): |
General Comments 0
You need to be logged in to leave comments.
Login now