1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Marcus Huewe
74594eb9ec - adjusted testcase oscrc's for recent config changes 2011-02-11 12:44:48 +01:00
Marcus Huewe
6132f89268 - test_deletefiles.py: new testcases for skipped files 2011-01-17 14:59:46 +01:00
Marcus Huewe
5e72fa1284 - fixed "osc addremove": use delete_file(), initialize pac.todo correctly
- added new testcase
2010-09-06 15:28:23 +02:00
Marcus Huewe
88a961cae4 - rewrote addfile() and delete_file() methods from the Package class (for the details see below)
- 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()
2010-08-31 13:30:36 +02:00