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

Unified Diff: tools/create_sdk.py

Issue 10117031: Move 'revision' file creation from upload_sdk into create_sdk (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | tools/upload_sdk.py » ('j') | 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 6711)
+++ tools/create_sdk.py (working copy)
@@ -425,6 +425,13 @@
import_dst = join(LIB, 'config', 'import_' + platform + '.config')
copyfile(import_src, import_dst);
+ # Write the 'revision' file
+ revision = utils.GetSVNRevision()
+ if revision is not None:
+ with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
+ f.write(revision + '\n')
+ f.close()
+
move(SDK_tmp, SDK)
if __name__ == '__main__':
« no previous file with comments | « no previous file | tools/upload_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698