Show More
@@ -716,6 +716,12 b' class basefilectx(object):' | |||||
716 | except error.LookupError: |
|
716 | except error.LookupError: | |
717 | return "%s@???" % self.path() |
|
717 | return "%s@???" % self.path() | |
718 |
|
718 | |||
|
719 | def __bytes__(self): | |||
|
720 | try: | |||
|
721 | return "%s@%s" % (self.path(), self._changectx) | |||
|
722 | except error.LookupError: | |||
|
723 | return "%s@???" % self.path() | |||
|
724 | ||||
719 | def __repr__(self): |
|
725 | def __repr__(self): | |
720 | return "<%s %s>" % (type(self).__name__, str(self)) |
|
726 | return "<%s %s>" % (type(self).__name__, str(self)) | |
721 |
|
727 |
General Comments 0
You need to be logged in to leave comments.
Login now