~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/dirstate.py

tweaks - finishes off all the test_test_trees tests for dirstate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
746
746
                sha1 = entry.text_sha1 or ''
747
747
            elif kind == 'symlink':
748
748
                size = 0
749
 
                sha1 = entry.symlink_target.encode('utf8')
 
749
                sha1 = (entry.symlink_target or '').encode('utf8')
750
750
            else:
751
751
                size = 0
752
752
                sha1 = ''