Commit f9d9451c authored by Tim Peters's avatar Tim Peters

_check_drec(): Made oid2name logic more obvious.

parent d61d46f7
......@@ -153,6 +153,7 @@ class Tracer(object):
"at", drec.pos)
result = True
self.oids[oid] += 1
self.oid2name[oid] = oidclass
for ref, klass in get_refs(pick):
if klass is None:
......@@ -172,9 +173,6 @@ class Tracer(object):
"at", pos)
result = True
if oidclass is not None:
self.oid2name[oid] = oidclass
elif oid in self.oids:
# Or maybe it's a version abort.
self._msg(oid, tid, "creation undo at", pos)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment