Monday 15 April 2013

merge - Which is the best option if I want to modify code from a previous REV in Mercurial? -


I want to update to the previous REV and probably should change some code in that code. What is the best way to do this?

Should I create a branch from that REV and after the expiry of the merger with those local changes in the branch?

Should I update that rev, make changes and merge? Okay?

This is your choice anyway, but

  • Update | Branch | Committed | In the history of merge you will receive a registered branch
  • update | Committed | In the case of merge you will have anonymous address, branch in history

    You can also create hg clone -R REV , have made changes to the clone, Clone changes, merge head (unnamed branch again, but not single-stroke, clone is used as the source of branches)

No comments:

Post a Comment