If you deleted you, then you deleted from your disk, you can just reload the repo workspace into your local workspace (or sandbox).
Note. The local workspace or sandbox is the same as the ClearCase snapshot view, but you would not call it a “snapshot”.
In RTC, a snapshot is a global tag that includes all component flippers in a stream.
If you deleted, you mean that you are deleted from the workspace of your repository, yes, you can add it back (it is still in the stream) and click "Save".
If you deleted, you mean that you are deleted from the stream itself, you can add it back to the Stream level (open this stream, and in the "Component" section click "Add").
If it is still in the workspace of your repo, you can return it back to the stream.
OP adds:
I mean “deleted from the stream itself,” so if the component is also removed from the repo workspace, cannot it be restored from the snapshot?
Yes, it could be a recovery from a snapshot:
I could:
- create a new workspace from a snapshot,
- update my flowtarget to be this newly created repo and take the component from here.
- Then update the target of the thread, which will be the thread when the component was removed, and
- pass a component to a stream.
I confirm that this should work.
And you can really create a repo workspace from a snapshot: this is what allows the user to quickly debug an assembly record with the status of “failed assembly”: each assembly first places a snapshot on the cond on which they will work.
source share