| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1d768f6 commit 6eb3af2
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,9 @@ Changelog | |||
| 5 | 5 | 1.0.2 - Fixes | |
| 6 | 6 | ============= | |
| 7 | 7 | ||
| 8 | + * IMPORTANT: Changed default object database of `Repo` objects to `GitComdObjectDB`. The pure-python implementation | ||
| 9 | + used previously usually fails to release its resources (i.e. file handles), which can lead to problems when working | ||
| 10 | + with large repositories. | ||
| 8 | 11 | * CRITICAL: fixed incorrect `Commit` object serialization when authored or commit date had timezones which were not | |
| 9 | 12 | divisable by 3600 seconds. This would happen if the timezone was something like `+0530` for instance. | |
| 10 | 13 | * A list of all additional fixes can be found `on github <https://github.com/gitpython-developers/GitPython/issues?q=milestone%3A%22v1.0.2+-+Fixes%22+is%3Aclosed>`_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,10 +35,7 @@ | |||
| 35 | 35 | add_progress | |
| 36 | 36 | ) | |
| 37 | 37 | ||
| 38 | - from git.db import ( | ||
| 39 | - GitCmdObjectDB, | ||
| 40 | - GitDB | ||
| 41 | - ) | ||
| 38 | + from git.db import GitCmdObjectDB | ||
| 42 | 39 | ||
| 43 | 40 | from gitdb.util import ( | |
| 44 | 41 | join, | |
@@ -62,7 +59,7 @@ | |||
| 62 | 59 | import sys | |
| 63 | 60 | import re | |
| 64 | 61 | ||
| 65 | - DefaultDBType = GitDB | ||
| 62 | + DefaultDBType = GitCmdObjectDB | ||
| 66 | 63 | if sys.version_info[:2] < (2, 5): # python 2.4 compatiblity | |
| 67 | 64 | DefaultDBType = GitCmdObjectDB | |
| 68 | 65 | # END handle python 2.4 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -657,7 +657,7 @@ def test_rev_parse(self): | |||
| 657 | 657 | assert rev_parse('@{1}') != head.commit | |
| 658 | 658 | ||
| 659 | 659 | def test_repo_odbtype(self): | |
| 660 | - target_type = GitDB | ||
| 660 | + target_type = GitCmdObjectDB | ||
| 661 | 661 | if sys.version_info[:2] < (2, 5): | |
| 662 | 662 | target_type = GitCmdObjectDB | |
| 663 | 663 | assert isinstance(self.rorepo.odb, target_type) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments