Commit 39ceb14e authored by Tim Peters's avatar Tim Peters

_check_drec(): Made oid2name logic more obvious.

parent 48bd00e3
...@@ -153,6 +153,7 @@ class Tracer(object): ...@@ -153,6 +153,7 @@ class Tracer(object):
"at", drec.pos) "at", drec.pos)
result = True result = True
self.oids[oid] += 1 self.oids[oid] += 1
self.oid2name[oid] = oidclass
for ref, klass in get_refs(pick): for ref, klass in get_refs(pick):
if klass is None: if klass is None:
...@@ -172,9 +173,6 @@ class Tracer(object): ...@@ -172,9 +173,6 @@ class Tracer(object):
"at", pos) "at", pos)
result = True result = True
if oidclass is not None:
self.oid2name[oid] = oidclass
elif oid in self.oids: elif oid in self.oids:
# Or maybe it's a version abort. # Or maybe it's a version abort.
self._msg(oid, tid, "creation undo at", pos) 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