Jelmer Vernooij
|
d6eefc6144
Add ShaFile._raw_length.
|
15 tahun lalu |
Dave Borowitz
|
98ceb396a1
Add a GitFile class that uses the same locking protocol for writes as git.
|
15 tahun lalu |
Jelmer Vernooij
|
12d7a5f078
Don't allow setting custom headers, per the discussion on the git list.
|
15 tahun lalu |
Jelmer Vernooij
|
8b64c925fa
Support custom fields in commits.
|
15 tahun lalu |
Jelmer Vernooij
|
1cbdd1595c
Add basic test for parsing commit objects.
|
15 tahun lalu |
Jelmer Vernooij
|
9c3dff7005
Merge faster pure-Python Tree parser.
|
15 tahun lalu |
Ronny Pfannschmidt
|
e1ef8adbeb
speed up the python based tree object parser by using str.find
|
15 tahun lalu |
Jelmer Vernooij
|
2e3ce46ba1
Remove trailing whitespace.
|
15 tahun lalu |
Jelmer Vernooij
|
b71676dc35
Allow time-less tags.
|
16 tahun lalu |
Abderrahim Kitouni
|
9b924dd869
ensure a tree is parsed before calculating its length
|
16 tahun lalu |
Jelmer Vernooij
|
977e48fa51
Use binascii.{unhexlify,hexlify}. Thanks to Ronny for the hint.
|
16 tahun lalu |
Jelmer Vernooij
|
27caef4821
Implement Tree.__len__.
|
16 tahun lalu |
Jelmer Vernooij
|
a01c082949
Implement ShaFile.__hash__.
|
16 tahun lalu |
Jelmer Vernooij
|
33f99bc0e9
More docstrings, test coverage.
|
16 tahun lalu |
Jelmer Vernooij
|
23589ddfbb
Implement ShaFile.__ne__.
|
16 tahun lalu |
Jelmer Vernooij
|
b04d48eefd
Import negative timezone fix from hg-git.
|
16 tahun lalu |
Jelmer Vernooij
|
2a572c6aef
Support the encoding field in commit messages.
|
16 tahun lalu |
Jelmer Vernooij
|
f72ac5e44e
Add function for checking submodules.
|
16 tahun lalu |
Jelmer Vernooij
|
e7236d8725
Support serializing tags.
|
16 tahun lalu |
Jelmer Vernooij
|
c6de5fdcc6
Fix time parsing.
|
16 tahun lalu |
Jelmer Vernooij
|
d2878d58f1
Use StringIO to generate Text and Commit texts.
|
16 tahun lalu |
Jelmer Vernooij
|
9b9d318902
Simplify tag parsing.
|
16 tahun lalu |
Jelmer Vernooij
|
0a946358af
Simplify tag parsing.
|
16 tahun lalu |
Jelmer Vernooij
|
eddb45bcf0
Fix formatting, add type check.
|
16 tahun lalu |
Jelmer Vernooij
|
117fe6e8b2
Remove unused sha import
|
16 tahun lalu |
Jelmer Vernooij
|
494d4472c9
Provide ShaFile.__str__.
|
16 tahun lalu |
Jelmer Vernooij
|
722067ed4b
Cope with timestamps not always being 10 characters long.
|
16 tahun lalu |
Jelmer Vernooij
|
27e09f418a
Fix sorting in trees.
|
16 tahun lalu |
Jelmer Vernooij
|
1db1601b49
Add tests for commit.
|
16 tahun lalu |
Jelmer Vernooij
|
aebbe5516c
Always initialize _sha.
|
16 tahun lalu |