summaryrefslogtreecommitdiff
path: root/lib/git/config.py
Commit message (Collapse)AuthorAgeFilesLines
* moved all contents, incl. submodule gitdb, up to the root directorySebastian Thiel2010-11-211-420/+0
|
* Inital implementation of Submodule.move including a very simple and ↵Sebastian Thiel2010-11-171-0/+5
| | | | to-be-improved test
* remote: added methods to set and query the tracking branch status of normal ↵Sebastian Thiel2010-11-161-1/+2
| | | | | | | heads, including test. Config: SectionConstraint was updated with additional callable methods, the complete ConfigParser interface should be covered now Remote: refs methods is much more efficient now as it will set the search path to the directory containing the remote refs - previously it used the remotes/ base directory and pruned the search result
* Submodule now only supports branches to be given as hint that will ↵Sebastian Thiel2010-11-161-13/+17
| | | | svn-external like behaviour. Implemented first version of update, which works for now, but probably needs to see more features
* Improved GitConfigurationParser to better deal with streams and the ↵Sebastian Thiel2010-11-151-4/+8
| | | | 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
* submodule: Fleshed out interface, and a partial test which is not yet ↵Sebastian Thiel2010-11-151-1/+23
| | | | usable. It showed that the ConfigParser needs some work. If the root is set, it also needs to refer to the root_commit instead of to the root-tree, as it will have to decide whether it works on the working tree's version of the .gitmodules file or the one in the repository
* Fixed bug that would cause the author's email to be a generic default one, ↵Sebastian Thiel2010-10-271-1/+1
| | | | | | instead of the existing and valid. The rest of the ConfigParser handling is correct, as it reads all configuration files available to git see http://github.com/Byron/GitPython/issues#issue/1
* Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel2010-06-291-1/+1
| | | | the submodules's naming conventions
* Adjusted all files to (hopefully) deal with the fact that all objects now ↵Sebastian Thiel2010-06-251-399/+363
| | | | | | | use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though
* 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