We use daily pipelines running from a Dev branch to build code based on the day’s check ins.
We have a Main branch to which changesets are merged from the Dev branch, done in Visual Studio using Source Control Explorer (TFVC, not Git).
I’ve recently deployed an ISV from a vendor that was not properly checked. The packages received from the vendors was build on development environments (not pipelines). I don’t have control over the vendors processes due to politics on the project.
This means that I checked in multiple deletions and deployments of the ISV to the Dev branch, which means multiple changesets. These changesets will never get merged to higher branches.
Is there any way to cleanup unnecessary changesets which will never be merged, from the list of available changesets when merging from Dev to Main branches?