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:
- 75:081959a31b02
- Parent:
- 74:09b1f16aea24
- Child:
- 77:46124d75dae7
--- a/neo.py Wed Mar 30 20:52:49 2016 -0500
+++ b/neo.py Fri Apr 01 15:03:53 2016 +0100
@@ -18,6 +18,32 @@
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()
+hg_ignore = """
+syntax: regexp
+\.build$
+\.export$
+\.git$
+\.svn$
+\.orig$
+\.msub$
+\.meta$
+\.ctags
+\.uvproj$
+\.uvopt$
+\.project$
+\.cproject$
+\.launch$
+\.project$
+\.cproject$
+\.launch$
+Makefile$
+\.ewp$
+\.eww$
+\.htm$
+Debug$
+.settings$
+"""
+
def message(msg):
return "["+os.path.basename(sys.argv[0])+"] "+msg+"\n"
@@ -146,6 +172,7 @@
def hash():
return pquery([hg_cmd, 'id', '-i']).strip().strip('+')
+
def dirty():
return pquery([hg_cmd, 'status', '-q'])