| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Cmd: AutoInterrupt handles boundary cases more gracefully as it can be that the os module suddenly becomes None if the interpreter is going down
|
|
|
|
|
|
|
|
| |
repo.is_dirty: Will not fail on empty repo ( anymore )
index.entries: will just be empty if the repository is empty
refs: added to_full_path method which can be used to create fully synthetic instances of Reference types, added a test for it
Converted all touched files to spaces, which is why git reports so many changed files. Actually I was thinking every file would use spaces, but apparently not
|
| |
|
|
|
|
| |
Repo.init: fixed incorrect use of the path which was to optionally specify where to initialize the repository. Update test as well
|
|
|
|
| |
safer to use in case of bare repositories
|
|
|
|
| |
repository was initialized with a .git repository, although it was not bare actually
|
|
|
|
| |
cmd: taskkill now pipes stderror to nul as well
|
|
|
|
|
|
| |
object
repo.tree: improved to be less restricting
|
|
|
|
| |
as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly
|
|
|
|
| |
a convenient shortcut to using the classes manually
|
|
|
|
| |
all parameters to be used. The test would not test everything either, and I would consider this a bug that slipped through
|
|
|
|
| |
TODO list
|
| |
|
|
|
|
| |
appropriate
|
|
|
|
|
| |
repo.archive: made it work with new way of custom output streams
added test for repo.archive which was missing for some reason
|
|
|
|
| |
tests bare the risk that things do not work properly outside of the sandbox.
|
| |
|
|
|
|
|
|
| |
the respective modules that use them
fixed repo.daemon_export which did not work anymore due to incorrect touch implementation and wrong property names
|
| |
|
|
|
|
| |
simple tests
|
|
|
|
|
| |
repo: added head , tag and iter_trees methods for completeness
changes: headlines now sorted chronologically
|
|
|
|
| |
reading, all tests work
|
|
|
|
| |
tests - most of which still has to be filled out
|
|
|
|
| |
is missing - these tests have to be redone in test-diff module accordingly
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
do it 'barely' only. New method names closely follow the default git command names
|
|
|
|
| |
create an object directly - this feature is used in several places now, allowing for additional type-checking
|
|
|
|
|
| |
Renamed Commit.commits to iter_commits
repo: assured proper use of the terms revision ( rev ) and reference ( ref )
|
|
|
|
| |
obsolete once the interface overhaul is finished. This commit is just intermediate
|
|
|
|
|
|
| |
memory
time imports cleaned up and mostly removed as they were not required (anymore)
|
|
|
|
| |
safe possibly hundreds of command calls
|
|
|
|
|
|
| |
cannot handle the complexity of the command backend
All objects but Tree now use the persistent command to read their object information - Trees get binary data and would need their own pretty-printing or they need to parse the data themselves which is my favorite
|
|
|
|
|
|
|
| |
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 )
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
existance was doubtful or unsafe
|
|
|
|
| |
mode is now generally an int compatible to the stat module
|
|
|
|
|
|
| |
return the same thing which does not work anymore - re-implemented it in a more dynamic manner, but in the end tests will have to be revised anyway
Added slots to Diff and Stats type respectively
|
|
|
|
| |
editor to work with the files properly. Can convert it back for releaes
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
previous one which never ran
removed old tests which were commented out
test_achive* method didn't actually call the functions, but only derefenced them
|
|/ |
|
| |
|
|
|
|
|
| |
Adds a summary property to the Commit object which returns just the first line of the commit message and makes the message property contain the entire commit message (previously the message property only contained the first line of the commit message). This breaks backwards compatibility a little in that the message property now contains a different value but previously there was no way to access the entire commit message from the Commit object and this is in keeping with git vocabulary, where message generally refers to the entire commit message.
(cherry picked from commit 9d2962d8306c894d4cca55bab551677b92d96352)
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
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)
|