Show More
@@ -2420,9 +2420,9 b' class overlayfilectx(committablefilectx)' | |||||
2420 | if reusable: |
|
2420 | if reusable: | |
2421 | # copy extra fields from originalfctx |
|
2421 | # copy extra fields from originalfctx | |
2422 | attrs = ['rawdata', 'rawflags', '_filenode', '_filerev'] |
|
2422 | attrs = ['rawdata', 'rawflags', '_filenode', '_filerev'] | |
2423 | for attr in attrs: |
|
2423 | for attr_ in attrs: | |
2424 | if util.safehasattr(originalfctx, attr): |
|
2424 | if util.safehasattr(originalfctx, attr_): | |
2425 | setattr(self, attr, getattr(originalfctx, attr)) |
|
2425 | setattr(self, attr_, getattr(originalfctx, attr_)) | |
2426 |
|
2426 | |||
2427 | def data(self): |
|
2427 | def data(self): | |
2428 | return self._datafunc() |
|
2428 | return self._datafunc() |
General Comments 0
You need to be logged in to leave comments.
Login now