merge /discard reports 'No Pending Changes' when /candidate shows them
问题 I'm trying to run a merge /discard command ( tfs merge /discard /version:nnn:yyy $/sourceproj $/targetproj /recursive ) but it says there are no pending changes. If I run a tfs merge /candidate $/sourceproj $/targetproj it shows the relevant changesets as candidates. any ideas why this happens and how to get round it? Thanks. 回答1: If you know the exact changeset number try: tf merge /discard /version:C111~C111 BranchX BranchY /recursive This assumes you know the changeset number (in this case