Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | flattened test folder structure, didn't adjust any file content yet | Sebastian Thiel | 2010-11-21 | 1 | -580/+0 |
| | |||||
* | test_submodule: fixed failures that arose due to changes of the original ↵ | Sebastian Thiel | 2010-11-19 | 1 | -1/+1 |
| | | | | | | submodule names. Also, a major bug was fixed that cased submodules to always being updated recursively when using the RootModule.update method submodule: previously, it would update the repository configuration during add(), but in fact it must be done during update() when the module is cloned, which is how the git-submodule implementation works | ||||
* | Added test-setup which can test all aspects of the (smart) update method | Sebastian Thiel | 2010-11-18 | 1 | -0/+2 |
| | |||||
* | repo: Added create_submodule method which fits into the tradition of ↵ | Sebastian Thiel | 2010-11-17 | 1 | -0/+5 |
| | | | | | | offering a create_* method for most important entities. Moved implementation of smart update method to the RootModule implementation, where it may do special things without requiring an interface for everything | ||||
* | Inital implementation of Submodule.move including a very simple and ↵ | Sebastian Thiel | 2010-11-17 | 1 | -0/+9 |
| | | | | to-be-improved test | ||||
* | Optimized test-decorators, by completely removing with_bare_rw_repo, which ↵ | Sebastian Thiel | 2010-11-15 | 1 | -1/+1 |
| | | | | was mainly copy-paste from with_rw_repo, what a shame | ||||
* | Repo: added submodule query and iteration methods similar to the ones ↵ | Sebastian Thiel | 2010-11-15 | 1 | -0/+10 |
| | | | | provided for Remotes, including test | ||||
* | Added python 2.4 support: Repo will now use the original GitCmdObjectDB in ↵ | Sebastian Thiel | 2010-07-09 | 1 | -0/+7 |
| | | | | python 2.4, as the pure python implementation cannot work without memory maps | ||||
* | Adjusted clone method to allow static classmethod clone ( using clone_from ) ↵ | Sebastian Thiel | 2010-07-07 | 1 | -1/+15 |
| | | | | | | as well as the previous instance method clone to keep it compatible Fixed small bug in test code | ||||
* | Adjusted previous object creators to use the rev_parse method directly. ↵ | Sebastian Thiel | 2010-07-07 | 1 | -3/+18 |
| | | | | rev_parse could be adjusted not to return Objects anymore, providing better performance for those who just want a sha only. On the other hand, the method is high-level and should be convenient to use as well, its a starting point for more usually, hence its unlikely to call it in tight loops | ||||
* | Initially working implementation of short-sha parsing and interpretation, ↵ | Sebastian Thiel | 2010-07-07 | 1 | -34/+39 |
| | | | | thanks to new gitdb functionality | ||||
* | Implemented main rev-parsing, including long hexshas, tags and refs. Short ↵ | Sebastian Thiel | 2010-07-06 | 1 | -8/+32 |
| | | | | Shas still to be done | ||||
* | RevParse now generally works, but there are still some more specialized ↵ | Sebastian Thiel | 2010-07-06 | 1 | -6/+18 |
| | | | | tests missing | ||||
* | Initial version of the rev-parse routine, which doesn't work too bad, but ↵ | Sebastian Thiel | 2010-07-06 | 1 | -26/+125 |
| | | | | its still rather slow and many tests are not yet implemented | ||||
* | win32 compatability adjustments | unknown | 2010-07-02 | 1 | -2/+2 |
| | |||||
* | Renamed modules utils to util, and errors to exc to be more conforming to ↵ | Sebastian Thiel | 2010-06-29 | 1 | -1/+1 |
| | | | | the submodules's naming conventions | ||||
* | Removed repo tests which for some reason left the 'repos' directory around, ↵ | Sebastian Thiel | 2010-06-29 | 1 | -40/+13 |
| | | | | replaced them by a real test which actually executes code, and puts everything into the tmp directory | ||||
* | All tests adjusted to work with the changed internal sha representation | Sebastian Thiel | 2010-06-28 | 1 | -5/+5 |
| | |||||
* | Fixed compatability issues with python 2.5, made sure all tests run | Sebastian Thiel | 2010-06-03 | 1 | -1/+1 |
| | |||||
* | git.cmd: added test for stream section constraint used in git command, found ↵ | Sebastian Thiel | 2010-06-02 | 1 | -288/+363 |
| | | | | bug of course which just didn't kick in yet | ||||
* | commit: redesigned revlist and commit parsing, commits are always retrieved ↵ | Sebastian Thiel | 2010-06-02 | 1 | -22/+17 |
| | | | | | | from their object information directly. This is faster, and resolves issues with the rev-list format and empty commit messages Adjusted many tests to go with the changes, as they were still mocked. The mock was removed if necessary and replaced by code that actually executes | ||||
* | commit: refactored existing code to decode commits from streams - ↵ | Sebastian Thiel | 2010-06-02 | 1 | -2/+3 |
| | | | | | | | performance is slightly better git.cmd: added method to provide access to the content stream directly. This is more efficient if large objects are handled, if it is actually used test.helpers: removed unnecessary code | ||||
* | Repo: Added comparison operators and hash operator including test | Sebastian Thiel | 2010-05-12 | 1 | -1/+6 |
| | | | | 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: added test with some basic assertions for empty repositories these | Sebastian Thiel | 2010-05-10 | 1 | -1/+33 |
| | | | | | | | | 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 | ||||
* | Converted all tabs to 4 space characters each to comply with pep8 | Sebastian Thiel | 2010-03-04 | 1 | -254/+254 |
| | |||||
* | IndexFile: unmerged_blobs lists are now sorted | Sebastian Thiel | 2010-02-13 | 1 | -11/+28 |
| | | | | Repo.init: fixed incorrect use of the path which was to optionally specify where to initialize the repository. Update test as well | ||||
* | repo: renamed directories to more descriptive identifiers and made them ↵ | Sebastian Thiel | 2009-12-03 | 1 | -6/+6 |
| | | | | safer to use in case of bare repositories | ||||
* | repo: fixed incorrect path handling thta could lead to issues if the ↵ | Sebastian Thiel | 2009-12-03 | 1 | -0/+7 |
| | | | | repository was initialized with a .git repository, although it was not bare actually | ||||
* | fixed test_repo to work on windows | Sebastian Thiel | 2009-11-05 | 1 | -6/+6 |
| | | | | cmd: taskkill now pipes stderror to nul as well | ||||
* | Improved cmd error handling in case an invalid revision is specified for an ↵ | Sebastian Thiel | 2009-11-04 | 1 | -0/+8 |
| | | | | | | object repo.tree: improved to be less restricting | ||||
* | object: renamed id attribute to sha as it in fact is always being rewritten ↵ | Sebastian Thiel | 2009-11-03 | 1 | -5/+5 |
| | | | | 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 | 1 | -0/+12 |
| | | | | 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 | -3/+3 |
| | | | | all parameters to be used. The test would not test everything either, and I would consider this a bug that slipped through | ||||
* | Added repo.index property including simple test, and additional ideas in the ↵ | Sebastian Thiel | 2009-10-23 | 1 | -1/+5 |
| | | | | TODO list | ||||
* | Adjusted tests to deal with API changes | Sebastian Thiel | 2009-10-22 | 1 | -8/+2 |
| | |||||
* | Adjusted all remaining test suites to use the new TestBase class where ↵ | Sebastian Thiel | 2009-10-22 | 1 | -46/+42 |
| | | | | appropriate | ||||
* | Git.cmd: removed with_raw_output option | Sebastian Thiel | 2009-10-22 | 1 | -0/+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.alternates test cheked for correctness and bugfixed - totally mocked ↵ | Sebastian Thiel | 2009-10-20 | 1 | -10/+8 |
| | | | | tests bare the risk that things do not work properly outside of the sandbox. | ||||
* | Fixed bare repository handling - bare is now a property to prevent writing it | Sebastian Thiel | 2009-10-20 | 1 | -4/+9 |
| | |||||
* | Moved specialized methods like dashify, touch and is_git_dir to module to ↵ | Sebastian Thiel | 2009-10-20 | 1 | -8/+7 |
| | | | | | | 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 | -12/+10 |
| | |||||
* | Implemneted IterableLists for refs, commits and remote objects including ↵ | Sebastian Thiel | 2009-10-19 | 1 | -0/+3 |
| | | | | simple tests | ||||
* | commit.count: is an instance method now | Sebastian Thiel | 2009-10-19 | 1 | -0/+13 |
| | | | | | repo: added head , tag and iter_trees methods for completeness changes: headlines now sorted chronologically | ||||
* | added additional testing for the configuration, concurrent access and config ↵ | Sebastian Thiel | 2009-10-19 | 1 | -2/+7 |
| | | | | reading, all tests work | ||||
* | Added frame for configuration reader involving a meta class, decorators and ↵ | Sebastian Thiel | 2009-10-18 | 1 | -3/+15 |
| | | | | tests - most of which still has to be filled out | ||||
* | Removed a few diff-related test cases that fail now as the respective method ↵ | Sebastian Thiel | 2009-10-17 | 1 | -35/+1 |
| | | | | is missing - these tests have to be redone in test-diff module accordingly | ||||
* | Fixed object bug that would cause object ids not to be resolved to sha's as ↵ | Sebastian Thiel | 2009-10-16 | 1 | -0/+3 |
| | | | | | | 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/+25 |
| | |||||
* | Improved archive function by allowing it to directly write to an output ↵ | Sebastian Thiel | 2009-10-15 | 1 | -5/+8 |
| | | | | | | 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 | -14/+12 |
| | | | | do it 'barely' only. New method names closely follow the default git command names |