mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +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() |
||
---|---|---|
.. | ||
.osc | ||
simple |