* Add a GitFile class that uses the same locking protocol for writes as
cgit. (Dave Borowitz)
+ * Cope with forward slashes correctly in the index on Windows.
+ (Jelmer Vernooij, #526793)
+
FEATURES
- * --without-speedups option to setup.py to allow building/installing
- without the C extensions. (Hal Wine, Jelmer Vernooij)
+ * --pure option to setup.py to allow building/installing without the C
+ extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
-- * Implement Repo.get_config(). (Jelmer Vernooij)
++ * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
* HTTP dumb and smart server. (Dave Borowitz)
return self.commit(sha).parents
def get_config(self):
- from configobj import ConfigObj
- return ConfigObj(os.path.join(self._controldir, 'config'))
++ import ConfigParser
+ p = ConfigParser.RawConfigParser()
+ p.read(os.path.join(self._controldir, 'config'))
- return dict((section, dict(p.items(section))) for section in p.sections())
++ return dict((section, dict(p.items(section)))
++ for section in p.sections())
def commit(self, sha):
return self._get_object(sha, Commit)