29
29
that is store in the map. Look for find_CLASS and add_CLASS methods.
32
42
def add_weave(self, id, weave):
33
43
"""Add weave to the map with a given id."""
34
44
if self._weave_key(id) in self._map:
35
45
raise errors.BzrError('weave %s already in the identity map' % id)
36
46
self._map[self._weave_key(id)] = weave
38
52
def find_weave(self, id):
39
53
"""Return the weave for 'id', or None if it is not present."""