HG: fork web app project to separate API code from app code

Posted by cs_brandt on Programmers See other posts from Programmers or by cs_brandt
Published on 2012-07-05T04:36:08Z Indexed on 2012/07/05 9:22 UTC
Read the original article Hit count: 326

I have a web app thats been in active development for about 8 months now and its becoming apparent that the project has a need to maintain a separation between app specific code and our OO Javascript API.

What I would like to do is have another repository with the following general structure of the js API code.

repo_name
   |
   +---build
   |
   +---build_tools
   |
   +---doc
   |
   +---src
        |
        +---js

Of course this structure is different from the original web app directory structure. If I make changes to this new repository how could I pull in those changes to the web app repository without unintentionally removing files or modifying the directory structure of the web app repository?

© Programmers or respective owner

Related posts about JavaScript

Related posts about version-control