summaryrefslogtreecommitdiff
path: root/git/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed io types to make tests work on PY2 once again.py3Sebastian Thiel2015-01-059-27/+28
| | | | Now it's about going through PY3 issues
* Dum brute force conversion of all types.Sebastian Thiel2015-01-049-17/+32
| | | | | | 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 Thiel2015-01-048-19/+17
| | | | More to come, especially when it's about strings
* Removed unnecessary (non-gitpython) tests and fixed flake80.3.3Sebastian Thiel2015-01-042-190/+1
|
* Replaced ordered dict with standard version; used logging moduleSebastian Thiel2015-01-0412-56/+71
| | | | All performance tests still print to stderr, but do so in a py3 compatible way
* Removed 'from X import *' whereever possibleSebastian Thiel2015-01-0424-67/+209
|
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-0417-66/+59
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Applied autopep8Sebastian Thiel2015-01-044-4/+5
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Let's hope travis works nowSebastian Thiel2015-01-041-2/+0
|
* Intermediate debug commit for travis ... do not useSebastian Thiel2015-01-041-2/+2
|
* Somemore debugging for rev-parse issueSebastian Thiel2015-01-041-3/+5
|
* This should help getting travis to work, finallySebastian Thiel2015-01-031-1/+1
|
* Auto-skip performance tests more quietly on travisSebastian Thiel2015-01-036-25/+14
| | | | | ... and be able to run performance tests independently of the chosen performance test repo Now all tests run fine locally
* Fixed all remaining non-performance testsSebastian Thiel2015-01-039-39/+58
| | | | | | | * travis configuration adjusted to hopefully work better than before Performance traversal still fails when using git-python as standard repository. It naturally wants a larger one. On travis these tests are skipped though.
* Various fixes and improvementsSebastian Thiel2015-01-031-6/+7
| | | | | | | | | * GIT_PYTHON_TRACE now behaves correctly for fetch, and pull (i.e. if as_process is used) * Improved parsing of fetch head information However, there is still a messy bit that tries to bring together fetch progress information with fetch head information. Even though it works now, an alternative implementation should be attempted.
* Auto-launching git daemon to make tests more independentSebastian Thiel2015-01-021-3/+22
| | | | Fixes #217
* Simplified parse_date implementationSebastian Thiel2014-12-191-2/+2
| | | | | 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 Halchenko2014-12-181-1/+1
|
* Applied autopep8Sebastian Thiel2014-11-1920-113/+148
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* Merge branch 'feature/0.3/git-file-support' of ↵Sebastian Thiel2014-11-192-1/+18
|\ | | | | | | | | | | | | | | | | | | https://github.com/igetgames/GitPython into igetgames-feature/0.3/git-file-support Using the previous implementation of read_gitfile, but added the previously missing test from this PR. Conflicts: git/repo/base.py git/test/test_repo.py
| * Add tests for .git-file.Marcus R. Brown2013-01-112-0/+18
| |
* | Copy environment for subprocess executionDarragh Bailey2014-11-171-0/+6
| | | | | | | | | | | | | | | | | | | | Git utilizes multiple environment variables to control various behaviours. Make sure to set LC_MESSAGES on a copy of the environment instead of discarding any variables that may be set by the user or default shell environment such as EDITOR. Add test to assert that when overriding GIT_EDITOR via os.environ that the modified value will be picked up by and git commands called.
* | Allow Index.add() on bare repositoriesSebastian Thiel2014-11-171-0/+34
| |
* | pep8 linting (trailing whitespace)Antoine Musso2014-11-1619-155/+155
| | | | | | | | W291 trailing whitespace
* | pep8 linting (double spaces before comment)Antoine Musso2014-11-163-8/+8
| | | | | | | | E261 at least two spaces before inline comment
* | pep8 linting (whitespace before/after)Antoine Musso2014-11-1622-160/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals
* | pep8 linting (blank lines expectations)Antoine Musso2014-11-1624-42/+52
| | | | | | | | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* | pep8 linting (whitespaces)Antoine Musso2014-11-1625-786/+771
| | | | | | | | | | | | | | | | | | | | | | W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
* | Merge branch 'sf-master' of https://github.com/johnsca/GitPython into ↵Sebastian Thiel2014-11-153-4/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | johnsca-sf-master Conflicts: git/cmd.py git/objects/commit.py git/objects/fun.py git/objects/util.py git/remote.py git/repo/base.py git/test/lib/helper.py git/test/test_commit.py git/test/test_fun.py git/util.py
| * | [#7021] Added serialization and test from upstream and fixed test issuesCory Johns2014-03-033-1/+73
| | |
| * | Fix whacky indentationTim Van Steenburgh2013-04-171-3/+3
| | | | | | | | | | | | Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
| * | Return bytes if object name can't be utf8-decodedTim Van Steenburgh2013-04-171-0/+5
| | | | | | | | | | | | Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
* | | Merge pull request #189 from mrasskazov/0.3Sebastian Thiel2014-11-142-1/+71
|\ \ \ | | | | | | | | GPG signature support on commit object.
| * | | GPG signature support on commit object.Max Rasskazov2014-09-082-1/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originals: Pull request "GPG signature support on commit object" #124 by Tatsuki Sugiura. https://github.com/gitpython-developers/GitPython/pull/124 commit 8065d2abdbb18e09560fc061807301b4c834d5a7 commit 62ecd6c66a84144632b045696326af503ee8cd4e
* | | | Updated README to better represent current stateSebastian Thiel2014-11-141-7/+6
| | | |
* | | | Merge pull request #200 from dbaxa/0.3-with-unicode-fixesSebastian Thiel2014-11-121-11/+20
|\ \ \ \ | |/ / / |/| | | 0.3 with unicode fixes
| * | | Basic test for __unpack_args to verify unicode handling worksCraig Northway2014-11-121-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 8fa25b1cd5a82679c7b12d546b96c30cafed0559) Signed-off-by: David Black <dblack@atlassian.com> Conflicts: git/test/test_git.py
* | | | Support multiple refspecs in fetch.Robert Collins2014-07-031-0/+4
|/ / / | | | | | | | | | | | | | | | Git supports fetching many refs at once - support this in GitPython too for more efficient operations when selectively mirroring repositories.
* | | add git command optionsEric Brunson2014-04-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add __call__ method to Git object to allow passing git command options to the executable requires flag to transform_kwargs add unit tests Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
* | | add git command optionsEric Brunson2014-04-251-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add __call__ method to Git object to allow passing git command options to the executable requires flag to transform_kwargs add unit test Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
* | | Minor modifications to get tests back to work.Sebastian Thiel2014-02-103-13/+20
| | | | | | | | | | | | Two tests are failing in the latest git version, would have to dig into it
* | | Adjusted required versions of pre-requisites, now the majority of the tests workSebastian Thiel2014-02-103-4/+4
| | |
* | | tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-0921-4575/+4575
| |/ |/| | | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* | fixed testcaseSebastian Thiel2011-07-181-1/+1
| | | | | | | | a test cases was asserting the wrong variable
* | new blame test addedSebastian Thiel2011-07-181-0/+9
|/ | | | | A test which makes the actual git-blame test to be sure it really works in the face of a changing git command implementation
* Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docsSebastian Thiel2011-07-051-0/+10
|
* Fetch info can now deal much better with non-default ref specs, fixes #24, #25Sebastian Thiel2011-07-041-4/+48
|
* refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel2011-07-041-0/+5
| | | | including simple test
* Fixes #23Sebastian Thiel2011-07-041-424/+432
|
* test_submodule doesn't assume latest version of gitdb anymoreSebastian Thiel2011-06-131-1/+2
|