From 5c5537b6b5793b41b21191174f9ea30c360486ab Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Mon, 21 Dec 2009 20:20:10 -0600 Subject: [PATCH] Start metadir versioning now before it's too late --- src/mw/metadir.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mw/metadir.py b/src/mw/metadir.py index ab99288..e6d2bc8 100644 --- 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) + # metadir versioning + fd = file(os.path.join(self.location, 'version')) + fd.write('1') # create config self.config = ConfigParser.RawConfigParser() self.config.add_section('remote') -- 2.39.5