In ProPeople SCM infrastructure I am creating a number of builds responsible for each project. The idea is that each project gets build on demand by the QA or PM and it is automatically deployed on the development server. No manual steps required (except clicking to start the build :)).
After I created about 7 of those builds, it occurred to me that maintaining them would be very time consuming task in future. Especially, if you want to update all of them. So I decide to make them a base for future merge. Baseless merge can be done only with the command line tool so I run the command “tf merge /baseless
I decided to make a quick test and changed the template build file, checked it in and selected Merge to merge my changed. For my surprise the folder list for available Target branch to merge was empty.
After a little search I found out that I have to use the /recursive option for tf merge if I want to merge all the files in the folder also. Anyway, who is going to merge only the folder itself without all its contents.
Bottom line: when you use TF command line, do not forget to set the /recursive option for all operations that must be applied to all files in the selected folder.

0 comments:
Post a Comment