Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added repo.index property including simple test, and additional ideas in the ↵ | Sebastian Thiel | 2009-10-23 | 1 | -0/+9 |
| | | | | TODO list | ||||
* | Added SymbolicReference and HEAD type to better represent these special ↵ | Sebastian Thiel | 2009-10-22 | 1 | -8/+4 |
| | | | | | | | | types of references and allow special handling Head.reset now is an instance method of HEAD type Concatenated all reference specific tests into test_refs started to fix tests breaking now because of changed interface | ||||
* | Git.cmd: removed with_raw_output option | Sebastian Thiel | 2009-10-22 | 1 | -14/+5 |
| | | | | | repo.archive: made it work with new way of custom output streams added test for repo.archive which was missing for some reason | ||||
* | repo.is_dirty: fixed incorrect check of a dirty working tree, previously it ↵ | Sebastian Thiel | 2009-10-21 | 1 | -1/+3 |
| | | | | would compare HEAD against the working tree, not the index which was intended | ||||
* | touch method improved to open for appending which would not clear the file ↵ | Sebastian Thiel | 2009-10-21 | 1 | -1/+1 |
| | | | | and be like an actual touch | ||||
* | repo.alternates test cheked for correctness and bugfixed - totally mocked ↵ | Sebastian Thiel | 2009-10-20 | 1 | -6/+10 |
| | | | | tests bare the risk that things do not work properly outside of the sandbox. | ||||
* | Added slots to Repo type to be sure we do not accidentally set values on it, ↵ | Sebastian Thiel | 2009-10-20 | 1 | -0/+1 |
| | | | | | | and to be more efficient of course ;) TODO: Added info about possible config improvement | ||||
* | Fixed bare repository handling - bare is now a property to prevent writing it | Sebastian Thiel | 2009-10-20 | 1 | -8/+34 |
| | |||||
* | Moved specialized methods like dashify, touch and is_git_dir to module to ↵ | Sebastian Thiel | 2009-10-20 | 1 | -1/+17 |
| | | | | | | the respective modules that use them fixed repo.daemon_export which did not work anymore due to incorrect touch implementation and wrong property names | ||||
* | Improved is_dirty including test | Sebastian Thiel | 2009-10-20 | 1 | -10/+20 |
| | |||||
* | Implemneted IterableLists for refs, commits and remote objects including ↵ | Sebastian Thiel | 2009-10-19 | 1 | -7/+6 |
| | | | | simple tests | ||||
* | commit.count: is an instance method now | Sebastian Thiel | 2009-10-19 | 1 | -13/+34 |
| | | | | | repo: added head , tag and iter_trees methods for completeness changes: headlines now sorted chronologically | ||||
* | repo.remote method added | Sebastian Thiel | 2009-10-19 | 1 | -0/+14 |
| | | | | CHANGES updated to carry information about remotes and config | ||||
* | Added configuration access including tests to remote | Sebastian Thiel | 2009-10-19 | 1 | -1/+1 |
| | | | | | config: fixed issue that would cause it to abort reading if the file did not exist - this is valid now Test does not work as the configuration parsing does not work as expected - this must be fixed first | ||||
* | Added remote module and test cases - about to implement remote option handling | Sebastian Thiel | 2009-10-19 | 1 | -0/+8 |
| | |||||
* | Added frame for configuration reader involving a meta class, decorators and ↵ | Sebastian Thiel | 2009-10-18 | 1 | -1/+52 |
| | | | | tests - most of which still has to be filled out | ||||
* | repo: fixed untracked files function which used git-commit before, it can ↵ | Sebastian Thiel | 2009-10-18 | 1 | -1/+1 |
| | | | | open vim to get a message though which makes the program appear to freeze - using git-status now | ||||
* | Fixed object bug that would cause object ids not to be resolved to sha's as ↵ | Sebastian Thiel | 2009-10-16 | 1 | -28/+10 |
| | | | | | | this was assumed - now there is a test for it as well repo: removed diff and commit_diff methods, added 'head' property returning the current head as Reference object | ||||
* | repo.untracked_files added including test | Sebastian Thiel | 2009-10-16 | 1 | -0/+31 |
| | |||||
* | Improved archive function by allowing it to directly write to an output ↵ | Sebastian Thiel | 2009-10-15 | 1 | -42/+25 |
| | | | | | | stream - previously it would cache everything to memory and try to provide zipping functionality itself gitcmd: allows the output stream to be set explicitly which is mainly useful for archiving operations | ||||
* | repo: made init and clone methods less specific, previously they wanted to ↵ | Sebastian Thiel | 2009-10-15 | 1 | -15/+15 |
| | | | | do it 'barely' only. New method names closely follow the default git command names | ||||
* | repo.commit_delta_base: removed | Sebastian Thiel | 2009-10-15 | 1 | -14/+0 |
| | |||||
* | Object can now create objects of the proper type in case one attempts to ↵ | Sebastian Thiel | 2009-10-15 | 1 | -4/+2 |
| | | | | create an object directly - this feature is used in several places now, allowing for additional type-checking | ||||
* | repo: removed commits_between but added a note about how this can be ↵ | Sebastian Thiel | 2009-10-15 | 1 | -218/+206 |
| | | | | achieved using the iter_commits method; reorganized methods within the type as a start for more interface changes | ||||
* | Added Commit.iter_parents to iterate all parents | Sebastian Thiel | 2009-10-15 | 1 | -66/+54 |
| | | | | | Renamed Commit.commits to iter_commits repo: assured proper use of the terms revision ( rev ) and reference ( ref ) | ||||
* | repo: removed a few methods because of redundancy or because it will be ↵ | Sebastian Thiel | 2009-10-15 | 1 | -54/+22 |
| | | | | obsolete once the interface overhaul is finished. This commit is just intermediate | ||||
* | All times are not stored as time_struct, but as simple int to consume less ↵ | Sebastian Thiel | 2009-10-15 | 1 | -5/+6 |
| | | | | | | memory time imports cleaned up and mostly removed as they were not required (anymore) | ||||
* | test_performance: module containing benchmarks to get an idea of the ↵ | Sebastian Thiel | 2009-10-15 | 1 | -3/+6 |
| | | | | | | | achieved throughput repo.commits: max_count is None by default moved benchmark-like test from test_commit to test_performance | ||||
* | tree: now reads tress directly by parsing the binary data, allowing it to ↵ | Sebastian Thiel | 2009-10-14 | 1 | -4/+12 |
| | | | | safe possibly hundreds of command calls | ||||
* | cmd: added option to return the process directly, allowing to read the ↵ | Sebastian Thiel | 2009-10-14 | 1 | -20/+0 |
| | | | | | | | output directly from the output stream commit: now reads commit information directly from the output stream of the process by implementing its iterator method repo: removed log method as it was redundant ( equal to the commits method ) | ||||
* | renamed find_all to list_all, changed commit to use iterable interface in ↵ | Sebastian Thiel | 2009-10-13 | 1 | -8/+9 |
| | | | | preparation for command changes | ||||
* | tree: now behaves like a list with string indexing functionality - using a ↵ | Sebastian Thiel | 2009-10-12 | 1 | -12/+3 |
| | | | | | | dict as cache is a problem as the tree is ordered, added blobs, trees and traverse method repo: remove blob function as blobs are created directly or iterated - primitve types should not clutter the repo interface | ||||
* | repo.active_branch now returns a Head object, not a string | Sebastian Thiel | 2009-10-12 | 1 | -13/+25 |
| | |||||
* | renamed from_string and list_from_string to _from_string and ↵ | Sebastian Thiel | 2009-10-12 | 1 | -3/+3 |
| | | | | _list_from_string to indicate their new status as private method, adjusted all callers respectively | ||||
* | Reorganized package structure and cleaned up imports | Sebastian Thiel | 2009-10-12 | 1 | -5/+93 |
| | |||||
* | converted all spaces to tabs ( 4 spaces = 1 tab ) just to allow me and my ↵ | Sebastian Thiel | 2009-10-11 | 1 | -459/+459 |
| | | | | editor to work with the files properly. Can convert it back for releaes | ||||
* | finished cleaning usage of regular expressions - they are now precompiled | Sebastian Thiel | 2009-10-09 | 1 | -1/+0 |
| | |||||
* | improved repo documentation | Sebastian Thiel | 2009-10-08 | 1 | -29/+51 |
| | |||||
* | Lots of spring cleaning and added in Sphinx documentation. | Michael Trier | 2009-01-24 | 1 | -1/+1 |
| | |||||
* | Corrected a problem with commits_between returning None. | Michael Trier | 2009-01-24 | 1 | -2/+2 |
| | | | | | This was caused by calling reverse on the list, which reverses the list in place and returns None. We really need tests for this. | ||||
* | Fixed the gzip archive creation using python gzip module | Eric Jonas | 2009-01-24 | 1 | -1/+8 |
| | | | | (cherry picked from commit 160bd2bb74d88c110874c21635e24cc74ef58459) | ||||
* | Corrected conflict with pep8 changes from apollo13. | Michael Trier | 2008-12-15 | 1 | -9/+9 |
|\ | |||||
| * | pep008! | Florian Apolloner | 2008-12-15 | 1 | -8/+8 |
| | | |||||
* | | add a path parameter to most commit methods | Paul Sowden | 2008-12-15 | 1 | -10/+25 |
| | | | | | | | | | | The path parameter allows you to specify a path to constrain queries by. This changes potentially breaks backwards compatibility for the Repo.commits and Repo.commits_since methods as it moves the positional arguments. (cherry picked from commit cc8a20e78da4864060bd0c9279633009bc10d871) | ||||
* | | remove ambiguity between paths and treeishs | Paul Sowden | 2008-12-15 | 1 | -6/+5 |
|/ | | | | | When calling commands that accept treeish and path arguments and there is a path with the same name as a treeish git cowardly refuses to pick one and asks for the command to use the unambiguous syntax where '--' seperates the treeish from the paths. Add '--' to the git commands to indicate that the argument is a treeish and not a path. (cherry picked from commit a9a57fa93a2b121ab9b17fcd6062b9a9c9740883) | ||||
* | Replace GitPython with git in repr() outputs. | Steve Frécinaux | 2008-09-17 | 1 | -16/+16 |
| | | | | | The imported module is called git (as in "import git"), so it's less confusing to do so than to call everything GitPython.something. | ||||
* | Merge branch 'master' of git://gitorious.org/git-python/dokais-clone | Michael Trier | 2008-09-14 | 1 | -0/+31 |
|\ | |||||
| * | Added a read-only Repo.active_branch property which returns the name of the ↵ | Kai Lautaportti | 2008-09-12 | 1 | -0/+14 |
| | | | | | | | | currently active branch. | ||||
| * | Cosmetic fixes to be consistent with the overall coding style. | Kai Lautaportti | 2008-09-12 | 1 | -4/+5 |
| | | |||||
| * | Added a read-only property Repo.is_dirty which reflects the status of the | Kai Lautaportti | 2008-09-12 | 1 | -0/+16 |
| | | | | | | | | | | | | | | working directory. A working directory is dirty if it has any uncommitted changes (in the working directory or in the index). Bare repositories are by nature always clean. |