{# Copyright (C) 2007-2023 Edgewall Software This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at https://trac.edgewall.org/wiki/TracLicense. This software consists of voluntary contributions made by many individuals. For the exact contribution history, see the revision history and logs, available at https://trac.edgewall.org/. #} ## Template for generating rows corresponding to directory entries # for entry in dir.entries: # set change = dir.changes[entry.created_rev] # set chgset_context = context.child('changeset', change.rev, parent=repos.resource) if change # set chgset_view = change and change.is_viewable(perm) # set isdir = entry.kind == 'dir'