Jelmer Vernooij
|
0c185d4961
make sha finding lazy.
|
16 年之前 |
Jelmer Vernooij
|
eac1f18fd7
Fix spacing issue in timezone offsets, add some simple tests for commit and tree serialization.
|
16 年之前 |
Jelmer Vernooij
|
a8669c1a01
Do proper parsing of timezones and store them as offset seconds.
|
16 年之前 |
Jelmer Vernooij
|
1cf191adea
Add separate functions for formatting / parsing timezones.
|
16 年之前 |
Jelmer Vernooij
|
a923a4f9b7
Use public API where possible.
|
16 年之前 |
Jelmer Vernooij
|
1b2e10c196
use make_sha rather than sha1.new() that's deprecated in python2.6.
|
16 年之前 |
Jelmer Vernooij
|
378d7a8ad6
Fix copyright headers.
|
16 年之前 |
Jelmer Vernooij
|
86f5723ee2
Add support for pretty printing objects.
|
16 年之前 |
Jelmer Vernooij
|
f9d8399721
Actually parse lazily (forgot to remove the call earlier).
|
16 年之前 |
Jelmer Vernooij
|
a47e76db15
Fix serialization of blobs and for header.
|
16 年之前 |
Jelmer Vernooij
|
2b073809a1
Simplify property handling.
|
16 年之前 |
Jelmer Vernooij
|
4c26b7d1bf
Lazily parse objects.
|
16 年之前 |
Jelmer Vernooij
|
fa98db8ec8
Allow users to change object types, use helper functions for setting raw strings.
|
16 年之前 |
Jelmer Vernooij
|
196cce1b31
Use property function rather than decorator, so we can support setters in the future.
|
16 年之前 |
Jelmer Vernooij
|
230698b9e6
Use property function rather than decorator, so we can support setters in the future.
|
16 年之前 |
Jelmer Vernooij
|
8a885eeaa5
Fix build without extensions.
|
16 年之前 |
Jelmer Vernooij
|
8e21c04e08
Implement Tree.__contains__.
|
16 年之前 |
Jelmer Vernooij
|
f2c2516fed
Fix C implementation of parse_tree to return a dictionary.
|
16 年之前 |
Jelmer Vernooij
|
c52006f94b
Use separate function for tree parsing, allow C extension for tree parsing.
|
16 年之前 |
Jelmer Vernooij
|
eba7f29e0b
Fix syntax error in iteritems.
|
16 年之前 |
Jelmer Vernooij
|
09cbb48f58
allow changing the trees.
|
16 年之前 |
Jelmer Vernooij
|
bb270f6cff
fix writing of legacy objects.
|
16 年之前 |
Jelmer Vernooij
|
cde18a4cdb
Improve formatting.
|
16 年之前 |
Jelmer Vernooij
|
155734ae7f
Store tree contents in dictionary internally.
|
16 年之前 |
Jelmer Vernooij
|
8032747902
Split out tree parsing function.
|
16 年之前 |
Jelmer Vernooij
|
f0e86324e0
The parsing code is significantly different from the original in git now.
|
16 年之前 |
Jelmer Vernooij
|
da8b3da61f
Support author/committer timezones.
|
16 年之前 |
Jelmer Vernooij
|
7e7474bd73
Support author_time
|
16 年之前 |
Jelmer Vernooij
|
5b199401b3
Add simple lookup function to Tree.
|
16 年之前 |
Jelmer Vernooij
|
a5d0b8f18b
Add _num_type for tags.
|
16 年之前 |