tortoisehg - tortoise hg clone two separate mercurial projects to the same directory -
i wanted combine 2 projects separate remote mercurial repositories same local directory (one framework, other code).
my thoughts doing clone them both same working directory generates error abort: destination 'c:\workspace\project' not empty
using tortoise hg.
is right way approach , if know how work?
first of all, sure want this? there's no way safely push original sources without getting everything, both "projects" after have combined.
in other words, become 1 project, , won't easy split up.
you should consider using sub-repositories typical way mercurial deals these sorts of things.
having said that, combine 2 distinct repositories, need pull 1 other.
in other words, here's do:
- clone 1 of projects
- pull new clone, , specify url second project. need force pull, otherwise complain not being same repository.
- optionally: move 1 or both of projects own sub-directories, separate them in directory structure
- merge 2 heads combine them 1 big set of files
if of unclear, please leave comment questions , i'll update/edit accordingly.
Comments
Post a Comment