I'm in trouble figuring out how to organize a mercurial repository for a Django project I'm starting. This is the current configuration:
.
├── .hg
├── docs
├── manage.py
├── project
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── requirements.txt
For how my workflow is, I'd prefer to keep the activities related to project and docs separated. Having two dedicated repositories could be a way to solve the issue, but then I should clone two repos if I want both the docs and the project, while I'd be optimal to clone only one all-inclusive repo, as the one of the picture above.
Is it possible to obtain what I want, and how to reorganize project, docs and repositories?
It's possible to nest repositories under a parent one. See Mercurial Subrepository.
BUT - this is not a good practice. See FeaturesOfLastResort explanation here.
In our R&D, we have many repositories, and when needed, the developers are already used to cloning the needed ones (2 or more) for the relevant activity.
I hope this helps.