Jelmer Vernooij
|
8c35904821
Update header to reflect that license is now Apachev2 or GNU GPLv2+.
|
9 tahun lalu |
Jelmer Vernooij
|
1fdca18915
Make _fancy_rename private, and only use it on Windows.
|
10 tahun lalu |
Gary van der Merwe
|
1d4d526b6e
Revert "Change the way methods that take a path argument behave."
|
10 tahun lalu |
Gary van der Merwé
|
7a02943889
Change the way methods that take a path argument behave.
|
10 tahun lalu |
Gary van der Merwe
|
325e5be676
Port test_file to Python3
|
11 tahun lalu |
Gary van der Merwe
|
733bde0683
Skip tests in python3 that fail (most of them :-()
|
11 tahun lalu |
Jelmer Vernooij
|
27b20e377b
Reintroduce Python2.6 support.
|
11 tahun lalu |
Jelmer Vernooij
|
4265383895
Add 'flakes' target invoking pyflakes, and fix some pyflakes warnings.
|
11 tahun lalu |
Gary van der Merwe
|
0fdbfe7bcf
Use io module instead of file.
|
11 tahun lalu |
Gary van der Merwe
|
dbaf169fe2
Apply lib2to3.fixes.fix_except
|
11 tahun lalu |
Jelmer Vernooij
|
851e9c7a46
Use TestCase.assertEqual rather than TestCase.assertEquals.
|
14 tahun lalu |
Jelmer Vernooij
|
bb2a51f74d
Drop support for testtools, instead depend on python >= 2.7 or unittest2.
|
14 tahun lalu |
Dave Borowitz
|
29cc33dadd
Don't error when creating GitFiles with the default mode.
|
15 tahun lalu |
Tay Ray Chuan
|
25302c6026
test_file.GitFileTests.test_abort_close_removed: close lockfile before removing it
|
15 tahun lalu |
Jelmer Vernooij
|
3ef09128a8
Use TestTools' TestCase so TestSkipped gets picked up correctly.
|
15 tahun lalu |
Jelmer Vernooij
|
17a735460f
Always import TestCase from dulwich.tests so it can be extended or overridden.
|
15 tahun lalu |
Dave Borowitz
|
e950bdd711
Clean up file headers.
|
15 tahun lalu |
Jelmer Vernooij
|
da2ae3d634
Avoid double close when file has already gone away in abort().
|
16 tahun lalu |
Jelmer Vernooij
|
9e95793275
Skip test_dest_opened on non-Windows platforms.
|
16 tahun lalu |
anatoly techtonik
|
c402eb265e
fix bug #557585 GitFile breaks dulwich on Windows
|
16 tahun lalu |
Jelmer Vernooij
|
35f368b3be
Remove some unused imports.
|
16 tahun lalu |
Dave Borowitz
|
afad608e26
Improve ref handling.
|
16 tahun lalu |
Dave Borowitz
|
52227b7428
Don't magically delete lockfiles on IOError/OSError.
|
16 tahun lalu |
Dave Borowitz
|
5656b3a1db
Clarify GitFile docstrings and disallow r+w modes.
|
16 tahun lalu |
Dave Borowitz
|
98ceb396a1
Add a GitFile class that uses the same locking protocol for writes as git.
|
16 tahun lalu |