def walk_revctrl(dirname=''):
 for ep in pkg_resources.iter_entry_points('setuptools.file_finders'):
  for item in ep.load()(dirname):
   (yield item)

def walk_revctrl ( dirname = '' ) : for ep in pkg_resources . iter_entry_points ( 'setuptools.file_finders' ) : for item in ep . load ( ) ( dirname ) : ( yield item )
find all files under revision control .