~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-20 13:31:00 UTC
  • mto: This revision was merged to the branch mainline in revision 6153.
  • Revision ID: jriddell@canonical.com-20110920133100-kpsomvcnjoxv6n6b
syntax fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
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: