Mercurial > hg > truffle
changeset 21703:b939ee385ae4
mx fsckprojects: exclude .workspace/
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 17:43:21 +0200 |
parents | 70649030d511 |
children | 5db03b62b621 |
files | mxtool/mx.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Wed Jun 03 17:38:26 2015 +0200 +++ b/mxtool/mx.py Wed Jun 03 17:43:21 2015 +0200 @@ -4908,8 +4908,8 @@ distIdeDirs = [d.get_ide_project_dir() for d in suite.dists if d.get_ide_project_dir() is not None] for dirpath, dirnames, files in os.walk(suite.dir): if dirpath == suite.dir: - # no point in traversing .hg or lib/ - dirnames[:] = [d for d in dirnames if d not in ['.hg', 'lib']] + # no point in traversing .hg, lib, or .workspace + dirnames[:] = [d for d in dirnames if d not in ['.hg', 'lib', '.workspace']] elif dirpath in projectDirs: # don't traverse subdirs of an existing project in this suite dirnames[:] = []