Jelmer Vernooij
|
10eaad8509
Deprecate Tree.entries.
|
14 years ago |
Jelmer Vernooij
|
9c7de183bd
Fix order of parameters to Tree.add.
|
14 years ago |
Jelmer Vernooij
|
61c9a751f4
Rename dulwich.misc => dulwich._compat.
|
14 years ago |
Dave Borowitz
|
b1a62d37db
Use ext_functest_builder for existing extension tests.
|
14 years ago |
Augie Fackler
|
4066f9c3cb
objects.parse_tree: more gracefully handle invalid modes in trees
|
14 years ago |
Dave Borowitz
|
9b4d041948
Move permutations from test_objects to misc.
|
14 years ago |
Dave Borowitz
|
e67b62f74f
objects: Allow tree entries to be sorted by name.
|
14 years ago |
Augie Fackler
|
4f34810495
test_objects: clean up whitespace
|
14 years ago |
Dave Borowitz
|
3461ff3bbb
Subclass TreeEntry in objects.py.
|
14 years ago |
Dave Borowitz
|
f749f272c4
Make TreeEntry a namedtuple for clarity.
|
14 years ago |
Jelmer Vernooij
|
dd7fe05372
Add Tree.items().
|
14 years ago |
Dave Borowitz
|
11a5f9001d
Allow overwriting id property of objects in test utils.
|
15 years ago |
Dave Borowitz
|
25f375d201
test_objects: Remove unnecessary file writing.
|
15 years ago |
Jelmer Vernooij
|
6a5e43cde8
Fix parsing from file-like objects.
|
15 years ago |
Jelmer Vernooij
|
17a735460f
Always import TestCase from dulwich.tests so it can be extended or overridden.
|
15 years ago |
Dave Borowitz
|
e950bdd711
Clean up file headers.
|
15 years ago |
Dave Borowitz
|
06867d6fbf
Add tests for sorted_tree_items and C implementation.
|
15 years ago |
Jelmer Vernooij
|
ebd7fb9151
Make sure ids get updated when the object changes.
|
15 years ago |
Dave Borowitz
|
b4b384f0e1
Fix "x if y else z" syntax for python2.4.
|
15 years ago |
Dave Borowitz
|
a6bb898f40
Add make_object and make_commit convenience functions to test utils.
|
15 years ago |
Jelmer Vernooij
|
87fe92ea91
Allow non-os file-like objects passed to ShaFile.from_file.
|
15 years ago |
Jelmer Vernooij
|
82f0ee09db
Distinguish between ShaFile.from_file and ShaFile.from_path.
|
15 years ago |
Dave Borowitz
|
c486c42aee
Clean up pack tests.
|
15 years ago |
Dave Borowitz
|
00c3b6a137
Correctly avoid parsing ShaFiles with fixed SHAs when calling sha().
|
15 years ago |
Dave Borowitz
|
5e7ba36ab6
Make ShaFiles created from files trust their filenames.
|
15 years ago |
Dave Borowitz
|
113d3d4461
Lazily read the contents of ShaFiles from disk.
|
15 years ago |
Dave Borowitz
|
cb4ffb30ba
Check tag and commit objects for duplicate and out-of-order headers.
|
15 years ago |
Dave Borowitz
|
9a596046de
Use datetime.utcfromtimestamp() in tests.
|
15 years ago |
Jelmer Vernooij
|
46890ceb71
Preserve '-' sign when -0000 is stored for the timezone in a commit/tag.
|
15 years ago |
Jelmer Vernooij
|
f6d9b89e61
Add Tree.__iter__.
|
15 years ago |