Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: tools/create_sdk.py

Issue 10861032: Skip .svn files when copying "lib" directories under /pkg (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
===================================================================
--- tools/create_sdk.py (revision 11076)
+++ tools/create_sdk.py (working copy)
@@ -422,7 +422,8 @@
if filename.endswith('.dart'):
copyfile(join(src_dir, filename), join(dest_dir, filename))
if exists(join(src_dir, 'lib')):
- copytree(join(src_dir, 'lib'), join(dest_dir, 'lib'))
+ copytree(join(src_dir, 'lib'), join(dest_dir, 'lib'),
+ ignore=ignore_patterns('.svn'))
# Create and populate pkg/dartdoc.
dartdoc_src_dir = join(HOME, 'pkg', 'dartdoc')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698