summaryrefslogtreecommitdiff
path: root/lib/git/config.py
Commit message (Collapse)AuthorAgeFilesLines
* Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel2010-03-041-392/+392
|
* config: GitConfigReader now allows to override its lock-type. By default it ↵Sebastian Thiel2009-12-171-8/+17
| | | | uses a 'failing' lock file, but now its possible to easily put a blocking lock file in its place
* config: fixed incorrect handling of default value in get_valueSebastian Thiel2009-12-091-1/+3
| | | | remote.config: SectionConstraint now knows about set_value and get_value which are new to the GitConfigParser
* config.set_value: added more convenient set_value method to ConfigReaderSebastian Thiel2009-12-081-0/+20
|
* config.get_value: Added default argument including testSebastian Thiel2009-12-081-2/+10
|
* config: implemented get_value method to have a safe way to make general ↵Sebastian Thiel2009-12-031-0/+33
| | | | 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
* Fixed config module which forgot to call the superclass's initializer, ↵Sebastian Thiel2009-11-051-0/+1
| | | | finally causing failure in python 2.6
* utils: Added LockFile including testSebastian Thiel2009-10-221-68/+10
| | | | | GitConfigFile is now derived from LockFile using its capabilities Implemented ConcurrentWriteOperation, test is yet to be done
* config: fixed serious issues that would cause it to see initial tabs as ↵Sebastian Thiel2009-10-191-0/+73
| | | | 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
* Added configuration access including tests to remoteSebastian Thiel2009-10-191-3/+7
| | | | | config: fixed issue that would cause it to abort reading if the file did not exist - this is valid now Test does not work as the configuration parsing does not work as expected - this must be fixed first
* added additional testing for the configuration, concurrent access and config ↵Sebastian Thiel2009-10-191-6/+18
| | | | reading, all tests work
* implemented config class as far as necessary, one check is still failingSebastian Thiel2009-10-191-20/+236
| | | | Added odict module to get an OrderedDict to be used in the config parser, assuring the order of sections and options does not change
* Added frame for configuration reader involving a meta class, decorators and ↵Sebastian Thiel2009-10-181-0/+100
tests - most of which still has to be filled out