mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
88a961cae4
- addfile(): * contains the complete logic for adding a file (=> simplified addFiles(...)) * semantic fixes - delete_file(): * semantic fixes - different handling of newly added/replaced files: * added/replaced files are tracked in the .osc/_to_be_added file - introduced new file state 'R': 'R' == "replaced" * usecase: osc rm <file>; osc add <file> => new state is 'R' * conceptually 'R' is equal to 'A' - adapted revert() to support the new state (+ some other minor fixes) - added testcases for addfile() and delete_file() |
||
---|---|---|
.. | ||
addfile_fixtures | ||
deletefile_fixtures | ||
update_fixtures | ||
common.py | ||
osc | ||
test_addfiles.py | ||
test_deletefiles.py | ||
test_update.py |