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:
- 64:012dffea11fd
- Parent:
- 63:3b00ba456e00
- Child:
- 65:905ba27af203
--- a/neo.py Fri Apr 01 14:02:41 2016 +0100
+++ b/neo.py Wed Mar 30 20:09:05 2016 -0500
@@ -96,6 +96,8 @@
@scm('hg')
@staticclass
class Hg(object):
+ name = 'hg'
+
def clone(url, name=None, hash=None):
log("Cloning "+name+" from "+url)
popen([hg_cmd, 'clone', url, name] + (['-u', hash] if hash else []))
@@ -163,6 +165,8 @@
@scm('git')
@staticclass
class Git(object):
+ name = 'git'
+
def clone(url, name=None, hash=None):
log("Cloning "+name+" from "+url)
popen([git_cmd, 'clone', url, name])