Jelmer Vernooij
|
e5f6eb1ebd
Some style fixes.
|
vor 8 Jahren |
Jelmer Vernooij
|
fb60cacf55
Cope with existing submodules during pull. Fixes #505.
|
vor 8 Jahren |
Koen Martens
|
221e4530b5
Squelch errors in test_index under windows
|
vor 8 Jahren |
Jelmer Vernooij
|
b5d7ab9610
Remove racy check that relies on mtime changing between writes.
|
vor 8 Jahren |
Jelmer Vernooij
|
5a446a7bc9
Use os.sync where possible.
|
vor 8 Jahren |
Benoit HERVIER
|
aa4d6f6a7f
Add test case for #479 #480
|
vor 8 Jahren |
Doug Hellmann
|
539cd289de
handle deleted files when getting unstaged changes
|
vor 8 Jahren |
Jelmer Vernooij
|
95112015b2
Cope with submodules in build_index_from_tree.
|
vor 8 Jahren |
Søren Løvborg
|
cc263b7f87
Repo: enable "with" statement support for closing
|
vor 8 Jahren |
Jelmer Vernooij
|
8c35904821
Update header to reflect that license is now Apachev2 or GNU GPLv2+.
|
vor 8 Jahren |
Jelmer Vernooij
|
fbb9b4f93f
Allow passing in fs encoding to _fs_to_tree_path.
|
vor 10 Jahren |
Jelmer Vernooij
|
f46b545498
Fix tests on Python3.
|
vor 10 Jahren |
Jelmer Vernooij
|
049564cbea
Add root_path argument to _tree_to_fs_path.
|
vor 10 Jahren |
Jelmer Vernooij
|
df801a4949
Make tree_to_fs_path and fs_to_tree_path private.
|
vor 10 Jahren |
Gary van der Merwe
|
7e09c47716
Improve checkout path handling:
|
vor 10 Jahren |
Gary van der Merwe
|
5f3ad83bd0
Avoid encoding or decoding checkout paths.
|
vor 10 Jahren |
Gary van der Merwe
|
ed8574ee54
Add failing test to ensure we don't fiddle with checkout path encoding.
|
vor 10 Jahren |
Gary van der Merwe
|
181426e839
For a symlink, stat.st_size is 0 on windows.
|
vor 10 Jahren |
Gary van der Merwe
|
ca6cbcd018
Split BuildIndexTests.test_nonempty so that the symlinks are tested separately.
|
vor 10 Jahren |
Gary van der Merwe
|
b4d3b21095
For tests that require symlink support, check if os has a symlink attr rather
|
vor 10 Jahren |
Gary van der Merwe
|
7c2c8f6ac1
Make sure we clean up all temp dir when running tests.
|
vor 10 Jahren |
Gary van der Merwé
|
ff831aa895
Close Repo, ObjectStore, and Pack objects.
|
vor 10 Jahren |
Jelmer Vernooij
|
8129e12c06
Support python3 for index tests.
|
vor 10 Jahren |
Gary van der Merwe
|
7da496f1a9
Port index to python3
|
vor 10 Jahren |
Jelmer Vernooij
|
2de065df43
Add function for validation ntfs path elements.
|
vor 10 Jahren |
Jelmer Vernooij
|
091638be3c
By default refuse to create index entries with a path starting with .git/.
|
vor 10 Jahren |
Gary van der Merwe
|
733bde0683
Skip tests in python3 that fail (most of them :-()
|
vor 10 Jahren |
Gary van der Merwe
|
692aa9914a
Use with statement rather than try: finaly: x.close().
|
vor 11 Jahren |
Jelmer Vernooij
|
c34bd620e4
index: Fix IndexEntry to not include name.
|
vor 11 Jahren |
Jelmer Vernooij
|
4265383895
Add 'flakes' target invoking pyflakes, and fix some pyflakes warnings.
|
vor 11 Jahren |