How to inlude files of sub-repository in main repository?

Basically I want to reproduce this method with Mercurial. I don't want to have actual sub-repository, I just want manage files of sub-repo as files of my main project and main repository, and at the same time have .hg directory for this fake sub-repo and be able to perform all Mercurial operations fo it. Problem here is how to setup Mercurial to ignore all subrepositories and treat their files just as normal files.

Answers


Instead of "fake subrepo", you can have natural nested repository (repository in subdirectory of working dir, unrelated to outer repo) - and any file below nested repo-dir can belong to any of "outer" repository. Just don't forget in @master-repo" hgignore all .hg folders in subdirs (you don't need version nested repository per-se). Not tested, but seems as viable way


Need Your Help

Assigning an Integer to an Integer in java

java map

In a current project I have a 2 dimensional height map, which is infinite in every direction and may change at runtime. How can I store this heightmap in Java? A approach using a HashMap seems very

Rails load seed - feedback

ruby-on-rails

I have a admin page on my site which allows me to load seeds by clicking a link.