Show More
@@ -148,9 +148,13 b' normname = util.normpath' | |||||
148 | class statusentry(object): |
|
148 | class statusentry(object): | |
149 | def __init__(self, node, name): |
|
149 | def __init__(self, node, name): | |
150 | self.node, self.name = node, name |
|
150 | self.node, self.name = node, name | |
151 | def __repr__(self): |
|
151 | ||
|
152 | def __bytes__(self): | |||
152 | return hex(self.node) + ':' + self.name |
|
153 | return hex(self.node) + ':' + self.name | |
153 |
|
154 | |||
|
155 | __str__ = encoding.strmethod(__bytes__) | |||
|
156 | __repr__ = encoding.strmethod(__bytes__) | |||
|
157 | ||||
154 | # The order of the headers in 'hg export' HG patches: |
|
158 | # The order of the headers in 'hg export' HG patches: | |
155 | HGHEADERS = [ |
|
159 | HGHEADERS = [ | |
156 | # '# HG changeset patch', |
|
160 | # '# HG changeset patch', |
General Comments 0
You need to be logged in to leave comments.
Login now