Yes, rolling back the entire set of changes will discard all changes in it.
However, the rollback is not instantaneous, when you click this option, the rollback will perform a reverse merge and leave the changes in your workspace. Therefore, you can view them in pending changes.
In your case, just roll back and undo everything except the file you really want to undo.
DaveShaw Nov 16 2018-12-16T00: 00Z
source share