|
1 | 1 | =======
|
2 | 2 | CHANGES
|
3 | 3 | =======
|
| 4 | + |
4 | 5 | 0.3
|
5 | 6 | ===
|
6 |
| - * ConcurrentWriteOperation was removed, and replaced by LockedFD |
7 |
| - * IndexFile.get_entries_key was renamed to entry_key |
8 |
| - * IndexEntry instances contained in IndexFile.entries now use binary sha's. Use |
9 |
| - the .hexsha property to obtain the hexadecimal version. The .sha property |
10 |
| - was removed to make the use of the respective sha more explicit. |
11 |
| - * IndexFile.write_tree: removed missing_ok keyword, its always True now |
12 |
| - Instead of raising GitCommandError it raises UnmergedEntriesError |
13 |
| - * diff.Diff.null_hex_sha renamed to NULL_HEX_SHA, to be conforming with |
14 |
| - the naming in the Object base class |
15 |
| - * Object instances, and everything derived from it, now use binary sha's internally. The 'sha' member was removed, in favor of the 'binsha' member. |
16 |
| - An 'hexsha' property is available for convenient conversions. |
17 |
| - They may only be initialized using their binary shas, reference names or revision specs are not allowed anymore. |
18 |
| - * The .data attribute was removed from the Object type, it is only available |
19 |
| - on the Blob type. |
20 |
| - * For consistency with naming conventions used in sub-modules like gitdb, the following modules have been renamed |
| 7 | +Renamed Modules |
| 8 | +--------------- |
| 9 | +* For consistency with naming conventions used in sub-modules like gitdb, the following modules have been renamed |
21 | 10 | * git.utils -> git.util
|
22 | 11 | * git.errors -> git.exc
|
23 | 12 | * git.objects.utils -> git.objects.util
|
| 13 | + |
| 14 | +General |
| 15 | +------- |
| 16 | +* Object instances, and everything derived from it, now use binary sha's internally. The 'sha' member was removed, in favor of the 'binsha' member. |
| 17 | + An 'hexsha' property is available for convenient conversions. |
| 18 | + They may only be initialized using their binary shas, reference names or revision specs are not allowed anymore. |
| 19 | +* IndexEntry instances contained in IndexFile.entries now use binary sha's. Use the .hexsha property to obtain the hexadecimal version. The .sha property was removed to make the use of the respective sha more explicit. |
| 20 | +* If objects are instantiated explicitly, a binary sha is required to identify the object, where previously any rev-spec could be used. The ref-spec compatible |
| 21 | +version still exists as Object.new or Repo.commit|Repo.tree respectively. |
| 22 | +* The .data attribute was removed from the Object type, to obtain plain data, use the data_stream property instead. |
| 23 | +* ConcurrentWriteOperation was removed, and replaced by LockedFD |
| 24 | +* IndexFile.get_entries_key was renamed to entry_key |
| 25 | +* IndexFile.write_tree: removed missing_ok keyword, its always True now |
| 26 | + Instead of raising GitCommandError it raises UnmergedEntriesError. |
| 27 | + This is required as the pure-python implementation doesn't support the missing_ok keyword yet. |
| 28 | +* diff.Diff.null_hex_sha renamed to NULL_HEX_SHA, to be conforming with |
| 29 | + the naming in the Object base class |
| 30 | + |
| 31 | + |
24 | 32 |
|
25 | 33 |
|
26 | 34 | 0.2 Beta 2
|
|
0 commit comments