Show More
@@ -6,7 +6,7 b'' | |||||
6 | # GNU General Public License version 2 or any later version. |
|
6 | # GNU General Public License version 2 or any later version. | |
7 |
|
7 | |||
8 | from i18n import _ |
|
8 | from i18n import _ | |
9 | import mdiff, parsers, error, revlog, util |
|
9 | import mdiff, parsers, error, revlog, util, dicthelpers | |
10 | import array, struct |
|
10 | import array, struct | |
11 |
|
11 | |||
12 | class manifestdict(dict): |
|
12 | class manifestdict(dict): | |
@@ -25,6 +25,8 b' class manifestdict(dict):' | |||||
25 | self._flags[f] = flags |
|
25 | self._flags[f] = flags | |
26 | def copy(self): |
|
26 | def copy(self): | |
27 | return manifestdict(self, dict.copy(self._flags)) |
|
27 | return manifestdict(self, dict.copy(self._flags)) | |
|
28 | def flagsdiff(self, d2): | |||
|
29 | return dicthelpers.diff(self._flags, d2._flags, "") | |||
28 |
|
30 | |||
29 | class manifest(revlog.revlog): |
|
31 | class manifest(revlog.revlog): | |
30 | def __init__(self, opener): |
|
32 | def __init__(self, opener): |
General Comments 0
You need to be logged in to leave comments.
Login now