Show More
@@ -27,6 +27,9 b' class sortdict(dict):' | |||||
27 | def update(self, src): |
|
27 | def update(self, src): | |
28 | for k in src: |
|
28 | for k in src: | |
29 | self[k] = src[k] |
|
29 | self[k] = src[k] | |
|
30 | def clear(self): | |||
|
31 | dict.clear(self) | |||
|
32 | self._list = [] | |||
30 | def items(self): |
|
33 | def items(self): | |
31 | return [(k, self[k]) for k in self._list] |
|
34 | return [(k, self[k]) for k in self._list] | |
32 | def __delitem__(self, key): |
|
35 | def __delitem__(self, key): |
@@ -1378,7 +1378,7 b' def _externalpatch(ui, repo, patcher, pa' | |||||
1378 | cwd = repo.getcwd() |
|
1378 | cwd = repo.getcwd() | |
1379 | if cwd: |
|
1379 | if cwd: | |
1380 | cfiles = [util.pathto(repo.root, cwd, f) |
|
1380 | cfiles = [util.pathto(repo.root, cwd, f) | |
1381 | for f in cfile] |
|
1381 | for f in cfiles] | |
1382 | scmutil.addremove(repo, cfiles, similarity=similarity) |
|
1382 | scmutil.addremove(repo, cfiles, similarity=similarity) | |
1383 | code = fp.close() |
|
1383 | code = fp.close() | |
1384 | if code: |
|
1384 | if code: |
General Comments 0
You need to be logged in to leave comments.
Login now