projects
/
mw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d0e89ce
)
Start metadir versioning now before it's too late
author
Ian Weller
<ian@ianweller.org>
Tue, 22 Dec 2009 02:20:10 +0000
(20:20 -0600)
committer
Ian Weller
<ian@ianweller.org>
Tue, 22 Dec 2009 02:20:10 +0000
(20:20 -0600)
src/mw/metadir.py
patch
|
blob
|
history
diff --git
a/src/mw/metadir.py
b/src/mw/metadir.py
index ab99288c47f5bc6e0e3c3980d27ee3768e993044..e6d2bc896347c28f3c104472b8051a7aacc7c62d 100644
(file)
--- a/
src/mw/metadir.py
+++ b/
src/mw/metadir.py
@@
-51,6
+51,9
@@
class Metadir(object):
sys.exit(1)
else:
os.mkdir(self.location, 0755)
sys.exit(1)
else:
os.mkdir(self.location, 0755)
+ # metadir versioning
+ fd = file(os.path.join(self.location, 'version'))
+ fd.write('1')
# create config
self.config = ConfigParser.RawConfigParser()
self.config.add_section('remote')
# create config
self.config = ConfigParser.RawConfigParser()
self.config.add_section('remote')
Benjamin Mako Hill
||
Want to submit a patch?