~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Robert J. Tanner
  • Date: 2009-04-20 08:37:32 UTC
  • mfrom: (4299 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4300.
  • Revision ID: tanner@real-time.com-20090420083732-bzx919oo7wpmqc2u
[merge] 1.14rc2 back into bzr.dev (Bob Tanner)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1342
1342
            yield ie
1343
1343
            file_id = ie.parent_id
1344
1344
 
1345
 
    def has_filename(self, names):
1346
 
        return bool(self.path2id(names))
 
1345
    def has_filename(self, filename):
 
1346
        return bool(self.path2id(filename))
1347
1347
 
1348
1348
    def has_id(self, file_id):
1349
1349
        return (file_id in self._byid)