~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

Fix set_reference_revision on dirstate format trees.

Show diffs side-by-side

added added

removed removed

Lines of Context:
336
336
                    # add this entry to the parent map.
337
337
                    parent_ies[(dirname + '/' + name).strip('/')] = inv_entry
338
338
                elif kind == 'tree-reference':
339
 
                    inv_entry.reference_revision = fingerprint
 
339
                    inv_entry.reference_revision = link_or_sha1
340
340
                else:
341
341
                    assert 'unknown kind'
342
342
                # These checks cost us around 40ms on a 55k entry tree