summaryrefslogtreecommitdiff
path: root/gitdb/test/test_pack.py
Commit message (Collapse)AuthorAgeFilesLines
* fix(win): FIX and HIDE 2 win-errors remainingv2.1.0.dev1Kostis Anagnostopoulos2016-10-241-36/+41
| | | | | + File-in-use errors were fixed with `gitdb.util.mman.collect()`! + This call is disabled `gitdb.util.HIDE_WINDOWS_KNOWN_ERRORS == False`. + Depend on latest smmp `v2.1.0.dev1` tag
* feat(io): breaking API: retrofit Packers as context-managers!Kostis Anagnostopoulos2016-10-241-64/+63
| | | | | | | | | | + Packers MUST be invoked inside `Withh...` blocks, or `_cursor` won't exist! + Had to drop NotLazy for their hierarchy :-( + Count entrances/exits. + feat(util: add `rmtree()` for READ_ONLY files on Windows. 3-->2 Windows TCs now fail.
* tc: HALF FIX of `test_pack_entity ()`Kostis Anagnostopoulos2016-10-221-3/+6
| | | | | + On Windows, you cannot write onto a file held by another live file-pointer (test_pack.py:#L204). + The TC fails later, on clean up (the usual).
* Merge pull request #28 from scop/withSebastian Thiel2016-07-301-3/+2
|\ | | | | Handle more file open/close with "with"
| * Handle more file open/close with "with"Ville Skyttä2016-07-271-3/+2
| |
* | Spelling fixesVille Skyttä2016-07-271-1/+1
|/
* Applied autopep8Sebastian Thiel2015-01-041-18/+16
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Fixed all applicable lint issuesSebastian Thiel2014-11-131-3/+0
|
* Made sure xrange is used instead of range in python 2Sebastian Thiel2014-11-131-1/+2
| | | | | | | range in py2 will return a list, which can mean a lot of time and memory is spent on generating it even though it's just used for iteration. Simplified implementation of MAXSIZE
* Pick off the low hanging fruitKevin Brown2014-07-131-8/+15
| | | | | | | | | | | This fixes most of the import errors that came from using the implicit relative imports that Python 2 supports. This also fixes the use of `xrange`, which has replaced `range` in Python 3. The same has happened for `izip`, which is also being aliased. The octal number syntax changed in Python 3, so we are now converting from strings using the `int` built-in function, which will produce the same output across both versions of Python.
* Automated PEP 8 fixesKevin Brown2014-07-131-51/+51
|
* tabs to spacesSebastian Thiel2014-02-091-219/+219
|
* crc needs to be done on the pack object header as well, of courseSebastian Thiel2011-03-311-1/+1
|
* Implemented remainder of the test, and it already shows that something is ↵Sebastian Thiel2011-03-311-10/+24
| | | | wrong with my packs. Probably something stupid ;)
* initial version of pack writing, which seems to work, but still needs some ↵Sebastian Thiel2011-03-311-13/+38
| | | | more testing and verification
* Added stub for pack writing implementation which should work for pack ↵Sebastian Thiel2011-03-311-4/+30
| | | | streaming over a transport as well
* preprended all modules with licensing informationSebastian Thiel2011-02-231-0/+4
|
* moved all relevant files into the gitdb folder.Sebastian Thiel2010-11-301-0/+178
Submodule relinked to point to new github location, and moved as well