Scheduling a merge operation  
Author Message
Dee_dotnet_79





PostPosted: Team Foundation Server - Version Control, Scheduling a merge operation Top

HI

Since TFS does not support sharing, and it has to be done using a branch and merge, what is the best practice in doing this.

From Mr.Jim Lamb's blog

http://www.hide-link.com/

he says "Sharing, as referenced in this question, is the concept of creating a file/folder that mirrors the contents of another file/folder which is the source. In Team Foundation we recommend users to implement sharing by:

  • Setting up a new branch and having a schedule event that does a Get Latest every n number of minutes or
  • Utilizing the Server proxy to mirror the repository"

How do we schedule an event to get the latest for every n minutes Could someone please elaborate on that.

Also, if you could point me to a microsoft published article that says "Sharing is not a good practice", that would be great. Need to convince my manager that we do need to TFS.



Visual Studio Team System43  
 
 
Richard Berg MSFT





PostPosted: Team Foundation Server - Version Control, Scheduling a merge operation Top

I must say, I don't understand either bullet point.

There are two general classes of solutions for people used to sharing:
- continue sharing via relative build paths or a hack/workaround like TFSLinks
- switch to a branch & merge workflow

Search this forum for "sharing" and you will find lots of info on both.

 
 
Dee_dotnet_79





PostPosted: Team Foundation Server - Version Control, Scheduling a merge operation Top

Thanks

       We have planned on doing the branch and merge workflow when I came across that article. I was trying to make sense of the 2 bullet points, but I could not. I wanted to post here to see if anyone understands it. If the first bullet point can actually be done, i.e. scheduling merges, then I think it certainly is worth the shot.

Any one out there know what the bullet points are all about Can that be done

 


 
 
Richard Berg MSFT





PostPosted: Team Foundation Server - Version Control, Scheduling a merge operation Top

You could build a service that listened for Checkin events -- or polled for new checkins via repeated Get -- and automatically merged them into target branches.

(Don't actually do this! )

edit: I will work with Jim to clarify the FAQ

 
 
Mario Rodriguez





PostPosted: Team Foundation Server - Version Control, Scheduling a merge operation Top

Hi Dee:

You can also use one of our partners product TFSLinks (which pretty much does what Richard described but at a higher quality level). The link to their site is: http://www.componentsoftware.com/Products/TFSLinks/index.htm

thanks, mario