a/trunk/cforge/cforge/Package/CFORGE/Scripts/checkout-prj.py | b/trunk/cforge/cforge/Package/CFORGE/Scripts/checkout-prj.py | ||
---|---|---|---|
... |
... |
||
55 | if tool['name'] == 'svn': |
55 | if tool['name'] == 'svn': |
56 | repo = tool['url'][1:-1].replace('/', ',') |
56 | repo = tool['url'][1:-1].replace('/', ',') |
57 | url = base_svn + repo |
57 | url = base_svn + repo |
58 | print(url) |
58 | print(url) |
59 | # checkout |
59 | # checkout |
60 | pysvn.svn_checkout_non_codesys(config['user'], config['pass'], url, os.path.join(config['folder'], repo)) |
60 | pysvn.svn_checkout_all(config['user'], config['pass'], url, os.path.join(config['folder'], repo)) |
61 | for root, dirs, files in os.walk(config['folder']): |
||
62 | for file in files: |
||
63 | if file == "meta.profile": |
||
64 | pysvn.svn_remove_local(root) |
||
61 | print('\n') |
65 | print('\n') |
62 | # store commit count |
66 | # store commit count |
63 | details = get_json(base_url + tool['url']) |
67 | details = get_json(base_url + tool['url']) |
64 | f = open(os.path.join(config['folder'], repo + '.commit_count'), "w") |
68 | f = open(os.path.join(config['folder'], repo + '.commit_count'), "w") |
65 | if f: |
69 | if f: |