Here's a small overview for the add and unversion actions.
More...
Here's a small overview for the add and unversion actions.
- Unversion: The entry to-be-unversioned will be deleted from the repository and the local waa cache, but not from disk. It should match an ignore pattern, so that it doesn't get committed the next time.
- Add: An added entry is required on commit - else the user told to store something which does not exist, and that's an error.
Exists in fs ->
| YES
| NO
|
not seen before
| N
| -
|
committed
| C , R
| D
|
unversioned
| d
| d (or D?, or with !?)
|
added
| n
| n (with !)
|
If an entry is added, then unversioned, we remove it completely from our list. We detect that by the RF_NOT_COMMITTED flag. Likewise for an unversioned, then added, entry.
Please see also the add command and the unversion command.