~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

Factor out _type_equality_funcs to a new function

Show diffs side-by-side

added added

removed removed

Lines of Context:
1608
1608
    This format:
1609
1609
        - exists within a metadir controlling .bzr
1610
1610
        - includes an explicit version marker for the workingtree control
1611
 
          files, separate from the ControlDir format
 
1611
          files, separate from the BzrDir format
1612
1612
        - modifies the hash cache format
1613
1613
        - is new in bzr 0.15
1614
1614
        - uses a LockDir to guard access to it.
1849
1849
        # Make sure the file exists
1850
1850
        entry = self._get_entry(file_id, path=path)
1851
1851
        if entry == (None, None): # do we raise?
1852
 
            raise errors.NoSuchId(self, file_id)
 
1852
            return None
1853
1853
        parent_index = self._get_parent_index()
1854
1854
        last_changed_revision = entry[1][parent_index][4]
1855
1855
        try: