Show More
@@ -121,10 +121,11 b' class basectx(object):' | |||
|
121 | 121 | |
|
122 | 122 | modified, added, clean = [], [], [] |
|
123 | 123 | deleted, unknown, ignored = s[3], s[4], s[5] |
|
124 | deletedset = set(deleted) | |
|
124 | 125 | withflags = mf1.withflags() | mf2.withflags() |
|
125 | 126 | for fn, mf2node in mf2.iteritems(): |
|
126 | 127 | if fn in mf1: |
|
127 | if (fn not in deleted and | |
|
128 | if (fn not in deletedset and | |
|
128 | 129 | ((fn in withflags and mf1.flags(fn) != mf2.flags(fn)) or |
|
129 | 130 | (mf1[fn] != mf2node and |
|
130 | 131 | (mf2node or self[fn].cmp(other[fn]))))): |
@@ -132,7 +133,7 b' class basectx(object):' | |||
|
132 | 133 | elif listclean: |
|
133 | 134 | clean.append(fn) |
|
134 | 135 | del mf1[fn] |
|
135 | elif fn not in deleted: | |
|
136 | elif fn not in deletedset: | |
|
136 | 137 | added.append(fn) |
|
137 | 138 | removed = mf1.keys() |
|
138 | 139 | if removed: |
General Comments 0
You need to be logged in to leave comments.
Login now