~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/dirstate.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-21 05:13:16 UTC
  • mfrom: (2843.1.1 ianc-integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20070921051316-85muv96iv0duh31j
Faster partial commits by walking less data (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1470
1470
        kind = inv_entry.kind
1471
1471
        minikind = DirState._kind_to_minikind[kind]
1472
1472
        tree_data = inv_entry.revision
1473
 
        assert len(tree_data) > 0, 'empty revision for the inv_entry.'
 
1473
        assert tree_data, 'empty revision for the inv_entry %s.' % \
 
1474
            inv_entry.file_id
1474
1475
        if kind == 'directory':
1475
1476
            fingerprint = ''
1476
1477
            size = 0