]> projects.mako.cc - mw/commitdiff
default config for merge tool
authorJoseph Reagle <joseph.2008@reagle.org>
Thu, 10 Feb 2011 13:37:16 +0000 (08:37 -0500)
committerJoseph Reagle <joseph.2008@reagle.org>
Thu, 10 Feb 2011 13:37:16 +0000 (08:37 -0500)
src/mw/metadir.py

index 0549c83b4232850e28754dd77db5308e0f4f36c6..db2ff627fe7c32868361afdf872c389f09feae4a 100644 (file)
@@ -67,6 +67,8 @@ class Metadir(object):
         self.config = ConfigParser.RawConfigParser()
         self.config.add_section('remote')
         self.config.set('remote', 'api_url', api_url)
         self.config = ConfigParser.RawConfigParser()
         self.config.add_section('remote')
         self.config.set('remote', 'api_url', api_url)
+        self.config.add_section('merge')
+        self.config.set('merge', 'tool', 'kidff3 %s %s -o %s')
         self.save_config()
         # create cache/
         os.mkdir(os.path.join(self.location, 'cache'))
         self.save_config()
         # create cache/
         os.mkdir(os.path.join(self.location, 'cache'))

Benjamin Mako Hill || Want to submit a patch?