Mercurial: two separate repos somewhat related (yes I'm getting confused)

Posted by Lo'oris on Stack Overflow See other posts from Stack Overflow or by Lo'oris
Published on 2010-05-28T15:28:07Z Indexed on 2010/05/28 15:31 UTC
Read the original article Hit count: 91

Filed under:

I have a local repository, let's call it ONE. ONE is the actual program. It's an android program, in case it matters for some reason.

I have a remote repository, let's call it EXT. EXT is somewhat a library, used by ONE.

ONE has a complex directory structure, mandated by android. The main sources are in src/bla/bla/ONE. Since ONE uses EXT, to do it I had to create another directory next to that one, that is src/bla/bla/EXT.

I think would like to keep them separated in two repositories, but I need for them to actually be in this same directory structure to compile ONE.

At the moment I just created a symlink to do it, but I wonder if there is a better way of doing that, that uses some hg feature.

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about cvs