Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Overhauled all tutorials, and placed them in a unit-test. | Sebastian Thiel | 2015-01-22 | 1 | -2/+2 |
| | | | | | | That way they are protected from regression. Fixes #239 | ||||
* | Fixed regression in test-suite for IndexFile | Sebastian Thiel | 2015-01-21 | 2 | -17/+3 |
| | | | | | Previously, it checked for AssertionErrors, now we have to implement need-unbare-repo check ourselves. | ||||
* | Added advance usage examples to tutorial and made minor fixes. | Sebastian Thiel | 2015-01-21 | 3 | -3/+10 |
| | | | | | | GIT_PYTHON_TRACE would actually fail (now) if we debugged archive operations. Related to #239 | ||||
* | Initial set of documentation improvements, and a fix to the submodule tests. | Sebastian Thiel | 2015-01-21 | 1 | -2/+5 |
| | | | | | | Now travisci tests should work once again. Related to #239 | ||||
* | Assured that branch changes are properly handled. | Sebastian Thiel | 2015-01-21 | 3 | -28/+11 |
| | | | | | | | | | Previously we could try to remove the branch we are on. Of course, we have a test-case elaborate enough to verify we don't destroy changes in submodules accidentally. Therefore I am confident that this implementation is correct. Fixes #49 | ||||
* | Fixed flake8 and a minor test regression. | Sebastian Thiel | 2015-01-20 | 2 | -23/+26 |
| | | | | | The latter happened as now BadName is thrown, instead of BadObject. Changes.rst was marked accordingly | ||||
* | Impemented keep_going flag for `Submodule.update()` | Sebastian Thiel | 2015-01-20 | 2 | -350/+376 |
| | | | | Fixes #50 | ||||
* | Submodule.parent_commit() now automatically points to repo.head unless it ↵ | Sebastian Thiel | 2015-01-20 | 1 | -27/+38 |
| | | | | | | | | was set before. That way, you don't always have to keep the parent commit uptodate when changing the repo, which can lead to errors which are hard to debug and make no sense to the user, who previously never set parent_commit (yet it matters thanks to the cache). | ||||
* | Greatly improved possible safety of Submodule.update(), which is used by ↵ | Sebastian Thiel | 2015-01-20 | 2 | -25/+68 |
| | | | | | | | | | | | | default. Previously, the implementation would gladly reset new commits in submodules, and/or reset a dirty working tree. Now the new force_reset/force flag has to be specified explicitly to get back to the old behaviour. All submodule tests except for one are working. | ||||
* | Submodule.move() will auto-rename the submodule if the name was equal to the ↵ | Sebastian Thiel | 2015-01-19 | 1 | -0/+6 |
| | | | | | | path Fixes #238 | ||||
* | Implemented Submodule.rename() | Sebastian Thiel | 2015-01-19 | 1 | -4/+78 |
| | | | | | | A test verifies it's truly working. Related to #238 | ||||
* | Submodule.move() fixed to deal with 'non-gitfile' clones appropriately. | Sebastian Thiel | 2015-01-19 | 1 | -1/+1 |
| | | | | | | | Improved a test to assure multiple update(init=False|True) calls don't throw. Fixes #93 | ||||
* | Basic submodule tests are working once again ! | Sebastian Thiel | 2015-01-19 | 1 | -10/+18 |
| | | | | | | | | After all, it was easier than expected. It seems that previous assertions the test made should have never been true to begin with. Thus we might have improved the test thanks to our improved implementation. Fixes #233 | ||||
* | Submodule.remove() now seems to work properly, nearly all tests are back. | Sebastian Thiel | 2015-01-17 | 1 | -18/+20 |
| | | | | | | This also means that now we seem to be able to properly handle .git files in submodules Related to #233 | ||||
* | Made sure dry-run is properly implemented in Submodule.remove() | Sebastian Thiel | 2015-01-17 | 1 | -7/+13 |
| | | | | | The root-submodule test is still failing though, this time even earlier than before | ||||
* | Submodule.remove() now deals with .git files correctly. | Sebastian Thiel | 2015-01-17 | 1 | -15/+29 |
| | | | | A simple test verifies this at least. | ||||
* | Assured Submodule.(update|move) are dealing with .git files appropriately. | Sebastian Thiel | 2015-01-17 | 1 | -60/+92 |
| | | | | | However, a simple test-case still fails for reasons not yet understood. There is more to be fixed here - .remove() still fails. | ||||
* | Implemented more tests and made use of .git files when adding submodules | Sebastian Thiel | 2015-01-16 | 1 | -5/+34 |
| | | | | | | | There is some more work to do, as renames and updates still have to be adjusted accordinlgy. Relates #233 | ||||
* | Fixed previously failing test | Sebastian Thiel | 2015-01-15 | 1 | -2/+2 |
| | | | | | | It actually revealed a bug in the implementation of Submodule.add, which just showed in python 3 for the wrong reasons. Thankfully, failing tests after all allowed to get this issue fixed ... . | ||||
* | Submodule.add() can now handle absolute module paths in agreement to the doc ↵ | Sebastian Thiel | 2015-01-15 | 1 | -0/+11 |
| | | | | | | | | | | string. Previously, it would say it can handle absolute module paths, but didn't actually do so. A test-case was improved to check for this case. Fixes #161 | ||||
* | For some reason, the new submodule test still broke on py3 | Sebastian Thiel | 2015-01-15 | 1 | -3/+0 |
| | | | | | | | Adjusted code to not check for .gitmodules existence anymore, we will deal with it. Fixes #117 | ||||
* | Added the first submodule will no longer cause an IOError. | Sebastian Thiel | 2015-01-15 | 1 | -1/+1 |
| | | | | | | This is verified by the respective test. Fixes #117 | ||||
* | Added test to verify binary diffs are working as well. | Sebastian Thiel | 2015-01-09 | 1 | -1/+2 |
| | | | | Related to #74 | ||||
* | suppression des prefixes de commit | firm1 | 2015-01-07 | 1 | -1/+1 |
| | |||||
* | Make flake8 happy | Sebastian Thiel | 2015-01-06 | 2 | -4/+5 |
| | |||||
* | test_tree works | Sebastian Thiel | 2015-01-06 | 1 | -2/+10 |
| | |||||
* | test_submodule works | Sebastian Thiel | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | test_repo works | Sebastian Thiel | 2015-01-06 | 1 | -8/+23 |
| | |||||
* | test_refs works | Sebastian Thiel | 2015-01-06 | 1 | -2/+4 |
| | |||||
* | test_fun works | Sebastian Thiel | 2015-01-05 | 1 | -2/+3 |
| | |||||
* | test_commit works once again | Sebastian Thiel | 2015-01-05 | 3 | -7/+7 |
| | |||||
* | Fixes test_blob and improved commit writing/reading | Sebastian Thiel | 2015-01-05 | 2 | -33/+37 |
| | |||||
* | Added test of #147 to verify it works. | Sebastian Thiel | 2015-01-05 | 1 | -16/+9 |
| | | | | Applied a few more fixes to commit implementation, possibly not the last | ||||
* | Intermediate commit: test_config and test_actor works | Sebastian Thiel | 2015-01-05 | 1 | -8/+8 |
| | | | | | Kind of tackling the tasks step by step, picking low-hanging fruit first, or the ones that everyone depends on | ||||
* | Fixed io types to make tests work on PY2 once again.py3 | Sebastian Thiel | 2015-01-05 | 3 | -8/+8 |
| | | | | Now it's about going through PY3 issues | ||||
* | Dum brute force conversion of all types. | Sebastian Thiel | 2015-01-04 | 4 | -6/+13 |
| | | | | | | However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first. | ||||
* | initial set of adjustments to make (most) imports work. | Sebastian Thiel | 2015-01-04 | 9 | -32/+32 |
| | | | | More to come, especially when it's about strings | ||||
* | Removed unnecessary (non-gitpython) tests and fixed flake80.3.3 | Sebastian Thiel | 2015-01-04 | 3 | -7/+8 |
| | |||||
* | Replaced ordered dict with standard version; used logging module | Sebastian Thiel | 2015-01-04 | 3 | -14/+20 |
| | | | | All performance tests still print to stderr, but do so in a py3 compatible way | ||||
* | Bumped version, updated changelog, reduced code smell | Sebastian Thiel | 2015-01-04 | 7 | -27/+33 |
| | | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements | ||||
* | Applied autopep8 | Sebastian Thiel | 2015-01-04 | 1 | -2/+2 |
| | | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive | ||||
* | Simplified parse_date implementation | Sebastian Thiel | 2014-12-19 | 1 | -7/+7 |
| | | | | | This allows to deal with the previous UTC issue without manually reversing timezone adjustments | ||||
* | BF: adjust mktime output for the local offset (Close #218) | Yaroslav Halchenko | 2014-12-18 | 1 | -1/+4 |
| | |||||
* | Applied autopep8 | Sebastian Thiel | 2014-11-19 | 10 | -163/+185 |
| | | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/ | ||||
* | Backport of https://github.com/gitpython-developers/GitPython/pull/118 | Sebastian Thiel | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Assure API remains backwards compatible; update API docs | Sebastian Thiel | 2014-11-17 | 1 | -2/+4 |
| | |||||
* | Merge branch '0.3' of https://github.com/firm1/GitPython into firm1-0.3 | Sebastian Thiel | 2014-11-17 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | Fixed most pressing issues, more to come in next commit as we introduced a regression here. Conflicts: git/objects/commit.py git/refs/log.py git/refs/symbolic.py | ||||
| * | add param to create_from_tree | firm1 | 2014-03-24 | 1 | -3/+8 |
| | | |||||
* | | pep8 linting (trailing whitespace) | Antoine Musso | 2014-11-16 | 10 | -164/+164 |
| | | | | | | | | W291 trailing whitespace | ||||
* | | pep8 linting (double spaces before comment) | Antoine Musso | 2014-11-16 | 1 | -2/+2 |
| | | | | | | | | E261 at least two spaces before inline comment |