aboutsummaryrefslogtreecommitdiff
path: root/test/git/test_config.py
AgeCommit message (Collapse)Author
2010-11-15Improved GitConfigurationParser to better deal with streams and the ↵Sebastian Thiel
corresponding locks. Submodule class now operates on parent_commits, the configuration is either streamed from the repository or written directly into a blob ( or file ) dependending on whether we have a working tree checkout or not which matches our parent_commit
2010-03-04Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel
2009-12-17config: GitConfigReader now allows to override its lock-type. By default it ↵Sebastian Thiel
uses a 'failing' lock file, but now its possible to easily put a blocking lock file in its place
2009-12-09config: fixed incorrect handling of default value in get_valueSebastian Thiel
remote.config: SectionConstraint now knows about set_value and get_value which are new to the GitConfigParser
2009-12-08config.set_value: added more convenient set_value method to ConfigReaderSebastian Thiel
2009-12-08config.get_value: Added default argument including testSebastian Thiel
2009-12-03config: implemented get_value method to have a safe way to make general ↵Sebastian Thiel
queries to the git configuration, returning a value in the proper type. In a way its not supposed to be used as you should know the type of your configuration option or get an exception otherwise
2009-10-22Adjusted all remaining test suites to use the new TestBase class where ↵Sebastian Thiel
appropriate
2009-10-19config: fixed serious issues that would cause it to see initial tabs as ↵Sebastian Thiel
continuation lines - this leads to very incorrect results when parsing git config files. Now the complete reading is overridden to make it work as there was no other way
2009-10-19added additional testing for the configuration, concurrent access and config ↵Sebastian Thiel
reading, all tests work
2009-10-19implemented config class as far as necessary, one check is still failingSebastian Thiel
Added odict module to get an OrderedDict to be used in the config parser, assuring the order of sections and options does not change
2009-10-18Added frame for configuration reader involving a meta class, decorators and ↵Sebastian Thiel
tests - most of which still has to be filled out