mercurial - How to commit only certain revisions to a cloned repository -
we have moved perforce mercurial, , struggeling bit find out how merge changes our stable releases. have central repository developers clone from. in perforce, have been using branches maintain releases, , merging bug fixes per change lists branches trunk, or other way around branches needed fix.
in mercurial, have implemented cloning, each stable release cloned repository of trunk.
our structure looks bit this:
trunk |- release 1 |- release 2 |- release 3
my question is, how can merge specific change sets trunk branch? hope there easy way it, preferably using tortoisehg, since have lot of developers different experience level doing this.
i might not understand want do.. yes can take changes 1 branch branch (e.g., trunk, called default
in mercurial, release branch). in modern mercurials, can done using graft
command (or before transplant
extension). use on branch type: hg graft revision
(see hg graft
more details).
now don't understand seems not have several branches 1 (default
) , several clones (?), in case becomes bit more complicated.. pull 1 changeset need pull ancestors , difficult know clones working directories! advice create release branches!
hope it'll help.
Comments
Post a Comment