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