~jelmer/bzr-git/index-based

« back to all changes in this revision

Viewing changes to inventory.py

  • Committer: Jelmer Vernooij
  • Date: 2010-05-05 09:58:55 UTC
  • mto: (677.7.164 trunk)
  • mto: This revision was merged to the branch mainline in revision 727.
  • Revision ID: jelmer@samba.org-20100505095855-i0165hooflvk9chy
Ignore control files in inventories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
        for mode, name, hexsha in self.object.entries():
180
180
            basename = name.decode("utf-8")
181
181
            child_path = osutils.pathjoin(self.path, basename)
 
182
            if self._inventory.mapping.is_control_file(child_path):
 
183
                continue
182
184
            executable = mode_is_executable(mode)
183
185
            kind_class = {'directory': GitInventoryDirectory,
184
186
                          'file': GitInventoryFile,