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:

  1. clone 1 of projects
  2. pull new clone, , specify url second project. need force pull, otherwise complain not being same repository.
  3. optionally: move 1 or both of projects own sub-directories, separate them in directory structure
  4. merge 2 heads combine them 1 big set of files

if of unclear, please leave comment questions , i'll update/edit accordingly.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -