Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | index.checkout: improved parsing of stderr to properly handle more unusual ↵ | Sebastian Thiel | 2009-11-23 | 1 | -2/+9 |
| | | | | messages - previously it would be more narrow and raise a GitCommandError in cases where it wasnt actually needed | ||||
* | index.checkout: Now parsing stderror in the end to determine which files ↵ | Sebastian Thiel | 2009-11-23 | 1 | -14/+69 |
| | | | | have not been updated as they where modified locally or did not exist. Test was improved to check for this new case. | ||||
* | index.checkout: Added progress function and made adjustments to test | Sebastian Thiel | 2009-11-22 | 1 | -73/+74 |
| | |||||
* | index: Path expansion routine is now iterator which assures more timely ↵ | Sebastian Thiel | 2009-11-21 | 1 | -16/+12 |
| | | | | processing - delays could have been possible previously as it would expand (possibly) large amounts of paths in advance | ||||
* | index.add: adjusted code to deal with update-index stdout 'bug' - now the ↵ | Sebastian Thiel | 2009-11-21 | 1 | -10/+14 |
| | | | | code does not rely on my own git patch anymore as it is unsure whether it will make it in there or when | ||||
* | index.add: added progress function support and made sure progress is sent ↵ | Sebastian Thiel | 2009-11-20 | 1 | -21/+121 |
| | | | | | | just in time This adds a dependency to a git update index fix - and I hope it will be put in in time ( including windows version ) | ||||
* | index: Added IndexEntry.from_base method including test in conjunction with ↵ | Sebastian Thiel | 2009-11-18 | 1 | -2/+28 |
| | | | | | | symlinks. Added index.get_entries_key method to allow direct access to anyone willing to do so | ||||
* | repo: may now be initialized from a path with envrionment variables. ↵ | Sebastian Thiel | 2009-11-10 | 1 | -2/+4 |
| | | | | Previously it would consider such a path a relative one and handle it incorrectly | ||||
* | Actor: fixed incorrect parsing of names from lines in case there was no ↵ | unknown | 2009-11-06 | 1 | -4/+11 |
| | | | | email address specified | ||||
* | Fixed commit.count method which now handles the paths case properly. It ↵ | Sebastian Thiel | 2009-11-06 | 1 | -1/+7 |
| | | | | appears git-rev-list uses empty paths in some way, which is quite hard to specify on a shell, but easy if the process is spawned directly | ||||
* | ARGH: wb and rb is not the same as r and w on windows, hence reading of ↵ | Sebastian Thiel | 2009-11-05 | 2 | -9/+15 |
| | | | | binary files went crazy as well as binary writing | ||||
* | repo.clone: Added plenty of special handling to allow drive letters to work ↵ | Sebastian Thiel | 2009-11-05 | 1 | -1/+32 |
| | | | | | | as expected. Its quite terrible to see a two-line method inflate to 20 as there is no git-daemon on windows, some tests will not work. The error message has been adjusted to be more precise for the poor people trying to run the tests on windows ( including myself ) | ||||
* | Fixed config module which forgot to call the superclass's initializer, ↵ | Sebastian Thiel | 2009-11-05 | 1 | -0/+1 |
| | | | | finally causing failure in python 2.6 | ||||
* | fixed test_repo to work on windows | Sebastian Thiel | 2009-11-05 | 1 | -1/+1 |
| | | | | cmd: taskkill now pipes stderror to nul as well | ||||
* | cmd: added clear_cache method now used by test repo decorators to be sure ↵ | Sebastian Thiel | 2009-11-05 | 1 | -1/+14 |
| | | | | persistent commands are killed before trying to remove the directory. Unfortunately, it still claims someone has opened the file. handle.exe does not show anyone, so what is happening here ? Is it just a windows odity ? If nothing helps I could just keep the temp data, but lets do some more testing first | ||||
* | git cmd on windows now runs without the shell, see diff for explanation | Sebastian Thiel | 2009-11-05 | 1 | -2/+7 |
| | |||||
* | Fixed windows TASKKILL so it actually does something *silently* | Sebastian Thiel | 2009-11-05 | 1 | -1/+4 |
| | |||||
* | Added utilities helping to create proper paths either with slashes or ↵ | Sebastian Thiel | 2009-11-05 | 5 | -49/+85 |
| | | | | | | | backslashes depending on the operating system fixed test_refs and test_trees Many more issues remain though, this is just a first backup commit | ||||
* | improved error when setting up server based test to make clear a server ↵ | Sebastian Thiel | 2009-11-04 | 1 | -1/+4 |
| | | | | needs to be started | ||||
* | head.checkout method added including test | Sebastian Thiel | 2009-11-04 | 1 | -1/+33 |
| | |||||
* | Merge branch 'docs' into improvements | Sebastian Thiel | 2009-11-04 | 3 | -17/+18 |
|\ | | | | | | | | | | | | | | | | | | | | | * docs: Converted tabs to spaces. added paragraph about the diffing engine and how to switch branches, which once more shows the need for a real checkout for all the people who do not want to implement all the safety facilities themselves Added Index Object paragraph and wrote the Remote Handling paragraph. Updated repo area added paragraph about using the git-python command Worked on the tree object handling and realized an issue with attribute naming on index objects and the way the system handles these initial work on tutorial.rst added all new files to reference.rst and corrected the worst mistakes. There are still a few errors left that I cannot fix as it complains about whitespace in the end ... that is exactly what I hate restructured text for, its just a ... anyway. | ||||
| * | added all new files to reference.rst and corrected the worst mistakes. There ↵ | Sebastian Thiel | 2009-11-04 | 3 | -17/+18 |
| | | | | | | | | are still a few errors left that I cannot fix as it complains about whitespace in the end ... that is exactly what I hate restructured text for, its just a ... anyway. | ||||
* | | added query for 'M' modified diffs to DiffIndex including test. The latter ↵ | Sebastian Thiel | 2009-11-04 | 1 | -3/+13 |
|/ | | | | one was made faster by reducing the amount of permutations to the minimal value | ||||
* | Improved cmd error handling in case an invalid revision is specified for an ↵ | Sebastian Thiel | 2009-11-04 | 3 | -29/+17 |
| | | | | | | object repo.tree: improved to be less restricting | ||||
* | IndexObject: assured that .path fields are relative to the repository ( ↵ | Sebastian Thiel | 2009-11-04 | 2 | -5/+22 |
| | | | | | | previously it would just be a name ) added abspath property and name property to provide easy access to most common paths of an index object | ||||
* | tree: parsing would fail when symlinks where encountered. This has been fixed | Sebastian Thiel | 2009-11-04 | 1 | -1/+2 |
| | |||||
* | refs: iter_items now imlemented natively for additional performance. We did ↵ | Sebastian Thiel | 2009-11-03 | 2 | -50/+45 |
| | | | | not implement the crazy sorting feature found in git-for-each-ref though | ||||
* | remotes are now retrieved directly by parsing the repository configuration ↵ | Sebastian Thiel | 2009-11-03 | 1 | -4/+10 |
| | | | | file. This removes a git command invocation | ||||
* | Reference.from_path now only creates references, not symbolic refs. ↵ | Sebastian Thiel | 2009-11-03 | 1 | -7/+21 |
| | | | | SymbolicReference.from_path creates only symbolic refs. This change was not detected by a test, hence there is room for improvement on the testing field | ||||
* | Now using git-update-ref and git-symbolic-ref to update references with ↵ | Sebastian Thiel | 2009-11-03 | 1 | -21/+17 |
| | | | | reflog support. This should be manually implemented though for more performance, what it does is relatively easy | ||||
* | remote.push: Fixed progress parsing, previously it would read whole lines ↵ | Sebastian Thiel | 2009-11-03 | 1 | -3/+15 |
| | | | | only which is equivalent to waiting for an operation to finish completely. Now we parse the stream manually, allowing to retrieve progress information as soon as it happens | ||||
* | object: renamed id attribute to sha as it in fact is always being rewritten ↵ | Sebastian Thiel | 2009-11-03 | 9 | -46/+46 |
| | | | | as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly | ||||
* | repo: added create_* and delete_* methods for refs ( head, tag, remote ) as ↵ | Sebastian Thiel | 2009-11-03 | 2 | -2/+57 |
| | | | | a convenient shortcut to using the classes manually | ||||
* | repo.is_dirty: is a method now - the property based interface didn't allow ↵ | Sebastian Thiel | 2009-11-03 | 1 | -1/+0 |
| | | | | all parameters to be used. The test would not test everything either, and I would consider this a bug that slipped through | ||||
* | Finished all push tests I could think of so far. More error cases should be ↵ | Sebastian Thiel | 2009-11-03 | 1 | -1/+4 |
| | | | | studied, but they would be hard to 'produce' | ||||
* | Intermediate commit with a few added and improved tests as well as many fixes | Sebastian Thiel | 2009-11-03 | 2 | -8/+39 |
| | |||||
* | Implemented PushProgress and PushInfo class including basic test cases. Now ↵ | Sebastian Thiel | 2009-11-02 | 1 | -17/+134 |
| | | | | many more test-cases need to be added to be sure we can truly deal with everything git throws at us | ||||
* | Added frame for push testing and push implemenation | Sebastian Thiel | 2009-10-28 | 1 | -13/+104 |
| | |||||
* | Another attempt to make fetch emit progress information, but in fact its ↵ | Sebastian Thiel | 2009-10-28 | 1 | -1/+1 |
| | | | | proven now that this is not happening if stderr is being redirected. A test is in place that will most likely fail in case this ever changes | ||||
* | Added repo.refs for completeness (as remote.refs is there as well and quite ↵ | Sebastian Thiel | 2009-10-28 | 1 | -0/+10 |
| | | | | nice to use) | ||||
* | Fixed bug when listing remotes - it was based on references which is ↵ | Sebastian Thiel | 2009-10-28 | 1 | -9/+2 |
| | | | | incorrect as it cannot always work | ||||
* | FetchInfo class is not a subclass of Remote class anymore, as more classes ↵ | Sebastian Thiel | 2009-10-28 | 2 | -138/+138 |
| | | | | are to be added it cluttered up the view and made things more complex as well | ||||
* | IterableList: added support for prefix allowing remote.refs.master ↵ | Sebastian Thiel | 2009-10-28 | 2 | -9/+27 |
| | | | | | | constructs, previously it was remote.refs['%s/master'%remote] Added first simple test for push support, which shows that much more work is needed on that side to allow just-in-time progress information | ||||
* | tag handling tests finished, unfortunately there is not yet a rejected case, ↵ | Sebastian Thiel | 2009-10-28 | 1 | -0/+8 |
| | | | | but it will assuambly follow with the push tests | ||||
* | Implemented handling of FETCH_HEAD and tags, some test cases still missing ↵ | Sebastian Thiel | 2009-10-27 | 1 | -22/+65 |
| | | | | dealing with deletion and movements of remote tags ( which in fact is discouraged, but we should be able to deal with it, shouldnt we ;) | ||||
* | Added special cases to test that shows we cannot yet: | Sebastian Thiel | 2009-10-27 | 1 | -1/+1 |
| | | | | | | handle the FETCH_HEAD case and handle tags System needs to be adjusted to take the FETCH_HEAD info into account to cover the tags case | ||||
* | Added remote stale_refs property including test, tested new remote branch ↵ | Sebastian Thiel | 2009-10-27 | 1 | -1/+21 |
| | | | | handling and deletion of stale remote branches | ||||
* | renamed remote_branch to remote_head, improved errror message | Sebastian Thiel | 2009-10-27 | 1 | -3/+3 |
| | |||||
* | Added non-fast forward test case, fixed parsing issue caused by initial line ↵ | Sebastian Thiel | 2009-10-27 | 1 | -2/+1 |
| | | | | stripping | ||||
* | implemented test for rejection handling and fixed a bug when parsing remote ↵ | Sebastian Thiel | 2009-10-27 | 1 | -8/+31 |
| | | | | reference paths |