Merging repositories

From OTBWiki
Jump to: navigation, search


  • To merge two unrelated repositories which use mercruial, preserving history :
hg clone REPO1 work         # First pull from both repos...
cd work
hg pull -f REPO2
hg merge                    # Then simply merge.
hg commit
  • More informations here