equal
deleted
inserted
replaced
164 repo = self.cnx.repo |
164 repo = self.cnx.repo |
165 entity = self.entity |
165 entity = self.entity |
166 extid = entity.cw_metainformation()['extid'] |
166 extid = entity.cw_metainformation()['extid'] |
167 repo._type_source_cache[entity.eid] = ( |
167 repo._type_source_cache[entity.eid] = ( |
168 entity.cw_etype, None, self.newsource.uri) |
168 entity.cw_etype, None, self.newsource.uri) |
169 repo._extid_cache[extid] = -entity.eid |
|
170 |
169 |
171 |
170 |
172 class ChangeEntitySourceDeleteHook(MetaDataHook): |
171 class ChangeEntitySourceDeleteHook(MetaDataHook): |
173 """support for moving an entity from an external source by watching 'Any |
172 """support for moving an entity from an external source by watching 'Any |
174 cw_source CWSource' relation |
173 cw_source CWSource' relation |