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:
- 46:915be4b5a8f0
- Parent:
- 45:5a91306f7924
- Child:
- 47:386f8c519142
--- a/neo.py Wed Mar 30 16:55:54 2016 -0500
+++ b/neo.py Fri Apr 01 00:33:14 2016 +0100
@@ -92,7 +92,7 @@
with cd(name):
with open('.hg/hgrc', 'a') as f:
f.write('[ui]\n')
- f.write('ignore.local = .hg/exclude\n')
+ f.write('ignore.local = .hg/hgignore\n')
def add(file): popen(['hg', 'add', file])
def remove(file):
@@ -113,13 +113,13 @@
def ignore(file):
file = '^%s/' % file
- exclude = '.hg/exclude'
+ exclude = '.hg/hgignore'
with open(exclude, 'a') as f:
f.write(file + '\n')
def unignore(file):
file = '^%s/' % file
- exclude = '.hg/exclude'
+ exclude = '.hg/hgignore'
if not os.path.isfile(exclude):
return