We have a situation where work had been done in the trunk of our system but was then pulled for our next release. We created a branch with the changes still in the trunk and then rolled back the changes in the trunk only.
What that's left us with though is that whenever we want to update the branch with recent work from working, it tries to merge the rollback changesets which we don't want.
I've tried using the /discard command from the TFS command prompt but keep getting "There are no changes to merge". Here is my syntax below:
D:\Projects\Big Project\Trunk>tf merge /discard /version:C28350~C28350 /recursive "D:\Projects\Big Project\Trunk" "D:\Projects\Big Project\Branch"
I even tried switching around the source and the destination to no avail :)
The changeset appears in the list of candidate changesets for the potential merge from trunk to branch. There have been a few checkins to the working branch since the initial branching but none to the branch.
Does anyone have experience with the discard command and why it may not be working here??
Thanks for your suggestions