In my repo, I have modifications from 1 to 10. I have pushed up to 5 (hence the next But now I am obstructed in my work and the result is not 100% complete, so I want to move amendment 6-10 to a new "experimental" branch so that anyone else Without any reason could interfere with the sources of all. Do I add a branch to a non-tip revision (in my case: starting with revision 6)? Or should I use a completely different approach? You can apply a branch name without modifying history. The simplest way is to ask other users to use Revision 5 to ask for any changes made by them as parents. For example, other users: when they make any changes, it will be As it is said, taking your changes to a branch can be accomplished using Mercurial Queues (MQ). The following sequence shows how this is done: HG push will publish 6-10).
hg clone & lt; Your repo & gt; or even
hgclone --rev 5
hg update -r 5 < Li> work, work, work
hg commit
default Make a second head on the branch, but it should not cause any problems, after completion of your experimental changes, you will need to merge two heads together at once.
hg qinit (create a new patch queue)
hg qimport -
> Hg branch & lt; Branch name & gt;
Comments
Post a Comment