merge - Find TFS items in other branches -


here different take on question (find tfs path of merged branch), different enough deserve own question.

in above link, authors describe how can programmatically traverse folder hierarchy using tfs api determine parent branch object folder or item within branch, , can branch information branch.

however, different question is: how use tfs api obtain path different branch of original folder or item, taking account item may have been renamed or moved in other branch?

for instance: if have object $/myproject/main/foo/bar.txt, can figure out parent branch $/myproject/main using method described. however, let's have following versions of file out there created branching original files:

$/myproject/dev/foo/bar.txt $/myproject/experiment/foo/bar.renamed $/myotherproject/main/openbar.woohoo 

how can determine list of references specific files or folders in branch? there way because visual studio's merge dialog automatically populates list of available targets references source file or folder, if source not branch.

if tfs has been used move files or rename them, opposed using file system , checking in 'new' files tfs can use history window review full history of file, show it's branch history , moves / renames have occurred, because tfs uses identifier file rather name.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -