hgsubversion - Move work to another branch Mercurial -


I am currently using Mercurial for sub-edition control in my project. Now I am supposed to work on a new branch 2.7, but I am confused to work with branch 2.6, I have developed a new facility, which is a facility at 2.7, but I am making it at 2.6. And now I want to transfer this feature to 2.7 branch, but I do not know how I can transfer it properly. Is there any way?

I recommend using the hg graft , which is a Unlike change from branch to second and unlike hg rebase (if you are doing this for the first time and are making a mistake or if you need convenience then be present in both the branches).

To copy the changes to a branch, do dest-branch , do the following. The first update in that branch that you want to copy in the changes:

  hg update dest-branch   

Then, Use corruption to copy the original branch, such as:

  hg corruption -r start..end   

where start The first amendment that you want is corruption from the source branch and termination is the last revision.

You can face disputes if they can not be merged explicitly, which you have to solve them (as you do in D merge), then the rest amendments will be used for corruption Use hg graft --continue for.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -