~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: John Arbash Meinel
  • Date: 2010-05-11 10:45:26 UTC
  • mto: This revision was merged to the branch mainline in revision 5225.
  • Revision ID: john@arbash-meinel.com-20100511104526-zxnstcxta22hzw2n
Implement a compiled extension for parsing the text key out of a CHKInventory value.

Related to bug #562666. This seems to shave 5-10% out of the time spent doing a complete
branch of bzr.dev/launchpad/etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1798
1798
            executable = self.is_executable(file_id, path)
1799
1799
        return kind, executable, None
1800
1800
 
1801
 
    def is_locked(self):
1802
 
        return False
1803
 
 
1804
1801
    def lock_read(self):
1805
1802
        # Perhaps in theory, this should lock the TreeTransform?
1806
 
        return self
 
1803
        pass
1807
1804
 
1808
1805
    def unlock(self):
1809
1806
        pass