Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-os
Diff: neo.py
- Revision:
- 13:3ae12fe3354a
- Parent:
- 11:ab6a9a482a1d
- Child:
- 15:a6b1f4e65bf4
diff -r ab6a9a482a1d -r 3ae12fe3354a neo.py
--- a/neo.py Wed Mar 30 01:51:29 2016 -0500
+++ b/neo.py Wed Mar 30 01:59:45 2016 -0500
@@ -196,9 +196,9 @@
popen([cwd.type, 'rm', '-f', repo.lib])
if cwd.type == 'hg':
- popen(['rm', '-f', repo.lib])
+ os.remove(repo.lib)
- popen(['rm', '-rf', repo.path])
+ shutil.rmtree(repo.path)
# Publish command
@subcommand('publish',