Merging repositories

From OTBWiki
Revision as of 13:22, 27 October 2015 by Rashadkm (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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