branching-and-merging

mercurial - see changes on the branch ignoring all the merge commits

家住魔仙堡 提交于 2019-12-04 03:02:50
I have a branch that was developed for a long period of time. During the development default branch was merged into that branch several times. I would like now to review all the changes done on that branch ignoring merges, to decide whether it is safe to merge it to default. I tried hg diff -r "branch('myBranch') - merge()" but it still shows changes introduced by merges. Also tried following this How to show the diff specific to a named branch in mercurial but hg diff -r "branch('myBranch') - branch('default')" still bring changes introduced by merges. The problem with your commands is that

How to promote a child branch as the Trunk branch in Team Foundation Server

旧街凉风 提交于 2019-12-04 02:00:00
问题 In Team Foundation Server we have several child branches and a Trunk branch. But now we need to promote a child branch as the Trunk branch and discard the current Trunk branch. Furthermore, we need to maintain the history of both the previous Trunk branch and the child branch. PS: We cannot merge the current Trunk branch and child branch due to huge conflicts all over the project. Please go through the visual representation as well: 回答1: Even without knowing the entire context, this doesn't

Merging Development Branch to Main: There were no changes to merge

ε祈祈猫儿з 提交于 2019-12-03 23:43:20
问题 My main branch has some files that have different codes from the same file of development branch. The development branch is the one that has the correct version of these files but when I am trying to merge it to main branch(target); I am getting a message saying There was no changes to merge How can I resolve that problem so that the main branch has the correct version of those files? 回答1: When merging files TFS doesn't just look at the differences between the two branches, but it also keeps

What are the consequences of renaming a branch in TFS 2012?

女生的网名这么多〃 提交于 2019-12-03 22:10:10
I've read in many places that renaming a branch is rather problematic in TFS 2010 : you may lose the history of the branch you just renamed ( as seen in this article or in this SO question ) I cannot find any mention of those problems in TFS 2012. Are there any consequences I should be aware of before renaming a branch in TFS 2012 ? James Reed The biggest problem with renaming a branch, is that you will effectively be performing a baseless merge next time you merge to or from the renamed branch. This can cause a lot of pain. I'm currently trying to untangle such a mess at the moment and its

How can I branch my code in a way that makes testing possible without contaminating the baseline?

浪尽此生 提交于 2019-12-03 21:07:25
Using TFS, we have the following: A main baseline A development branch for each development effort. These get merged back to the baseline. A release branch that is created with each release. Bug fixes are made here, released, and merged back to the baseline. Using shelvesets, we can share code across development branches if needed without contaminating the baseline. Useful for code reviews. When we deliver our development changes to baseline we have an automated build that kicks off and automatically places our changes on the test server. The problem is that the business analysts can't see our

TFS — Sustainability of Cascading Branches

℡╲_俬逩灬. 提交于 2019-12-03 20:34:09
Branching guidance usually describes an immortal "Main" branch, with features branched from Main, and merged back to Main, and Releases branched from Main, with further branches of a Release as necessary for Service Packs, RTMs, etc. The guidance regarding Main is often simplified to "no trash in Main." I'm working with a group that releases regularly (as often as monthly) and serially. To them it seems unnecessary to ever return work to the Main branch. They use TFS 2010--diagramatically their branching structure looks like this: Daily builds on a branch are made; eventually the branch goes

Folder converted to branch?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 16:05:30
问题 In TFS (We are using 2012) why is the default to convert your source folder to a branch? I really don't consider the source a branch. What, if any, advantages/disadvantages does this have? 回答1: I'm not sure what you mean by "I don't consider the source a branch" the source folder by definition becomes a branch as soon as you create a branch from it. The target folder is also a branch which is a child of the source branch. There are no disadvantages to enabling this. Regardless of whether you

Git branching model strategy

烈酒焚心 提交于 2019-12-03 13:51:02
问题 We are trying to follow the gitflow branching model, but with a twist. We have have four servers environments where the product can be deployed to, each server serves a purpose : development, internal testing, external testing, and production. DevServer , where developers test their different features, while developing. Developers cannot test locally on their machines, they have to make their changes on the DevServer to be able to test TestServer , where QA testers test multiple features once

Team Foundation: Multiple release structure

隐身守侯 提交于 2019-12-03 13:24:00
I am in need of help setting up a TFS branching structure. The current scenario is as follows, our application is a SaaS, and I believe we need multiple "Release" branches simultaneously. Going through the TFS Branching Guide III, I'm fairly certain that we will need the "Advanced" branching model. We start with having a "main" branch, which will house the application as it stands right now (we're coming from Visual Source Safe). From that we will create a "Development" branch, and leave that alone for now. We will also create a new "Service Pack", "Hotfix", and "Release A" branch tree which

Merge/Branch Strategy

邮差的信 提交于 2019-12-03 13:09:36
We are trying to implement the "Basic Dual Branch Plan" as described by the ALM Rangers in the latest Visual Studio TFS Branching and Merging Guide . From the guidance: The basic branch plan with a MAIN, DEV, and RELEASE branch enables concurrent development for your next release, a stable MAIN branch for testing and a RELEASE branch for any ship blocking bug fixes. Multiple development areas are supported by creating additional development branches from MAIN. These are peers to each other and children of MAIN. Additional releases are supported by creating release branches for each product