Posted By

axolx on 08/26/10


Tagged

hg mercurial


Versions (?)

Force copy a branch into another in Mercurial


 / Published in: Other
 

  1. # Situation: You are on the default branch and want to mirror 'feature' branch without merging:
  2.  
  3. hg branch -f feature
  4.  
  5. or
  6.  
  7. hg merge --config ui.merge=internal:other feature

Report this snippet  

You need to login to post a comment.