diff options
author | Michael Trier <mtrier@gmail.com> | 2008-12-15 13:44:44 -0500 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-12-15 13:44:44 -0500 |
commit | 5117c9c8a4d3af19a9958677e45cda9269de1541 (patch) | |
tree | 860b245dc034d4089c2ecbaf4926e128bb591ff1 | |
parent | 1083748b828dfca6a72014434850da0f2a0579ab (diff) | |
download | gitpython-5117c9c8a4d3af19a9958677e45cda9269de1541.tar.gz |
Added in new changes and bumped for version 0.1.50.1.5
-rw-r--r-- | CHANGES | 63 | ||||
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | VERSION | 2 |
3 files changed, 66 insertions, 5 deletions
@@ -5,7 +5,68 @@ CHANGES 0.1.5 ===== -* removed ``method_missing`` stuff and replaced with a ``__getattr__`` +General +------- +* upgraded to Mock 0.4 dependency. + +* Replace GitPython with git in repr() outputs. + +* Fixed packaging issue caused by ez_setup.py. + +Blob +---- +* No longer strip newlines from Blob data. + +Commit +------ +* Corrected problem with git-rev-list --bisect-all. See + http://groups.google.com/group/git-python/browse_thread/thread/aed1d5c4b31d5027 + +Repo +---- +* Corrected problems with creating bare repositories. + +* Repo.tree no longer accepts a path argument. Use: + + >>> dict(k, o for k, o in tree.items() if k in paths) + +* Made daemon export a property of Repo. Now you can do this: + + >>> exported = repo.daemon_export + >>> repo.daemon_export = True + +* Allows modifying the project description. Do this: + + >>> repo.description = "Foo Bar" + >>> repo.description + 'Foo Bar' + +* Added a read-only property Repo.is_dirty which reflects the status of the + working directory. + +* Added a read-only Repo.active_branch property which returns the name of the + currently active branch. + + +Tree +---- +* Switched to using a dictionary for Tree contents since you will usually want + to access them by name and order is unimportant. + +* Implemented a dictionary protocol for Tree objects. The following: + + child = tree.contents['grit'] + + becomes: + + child = tree['grit'] + +* Made Tree.content_from_string a static method. + +0.1.4.1 +======= + +* removed ``method_missing`` stuff and replaced with a ``__getattr__`` override in ``Git``. 0.1.4 @@ -13,8 +13,8 @@ REQUIREMENTS ============ * Git_ tested with 1.5.3.7 -* `Python Nose`_ - used for running the tests -* `Mock by Michael Foord`_ used for tests +* `Python Nose`_ - used for running the tests +* `Mock by Michael Foord`_ used for tests. Requires 0.4 .. _Git: http://git.or.cz/ .. _Python Nose: http://code.google.com/p/python-nose/ @@ -39,4 +39,4 @@ git://gitorious.org/git-python/mainline.git LICENSE ======= -New BSD License. See the LICENSE file.
\ No newline at end of file +New BSD License. See the LICENSE file. @@ -1 +1 @@ -0.1.4.1
\ No newline at end of file +0.1.5 |