Note that there are some explanatory texts on larger screens.

plurals
  1. POMercurial with multiple projects
    primarykey
    data
    text
    <p>I have a couple of projects with different release cycles sitting in my SVN repository. Releases are created by using the classic tags structure in SVN. When there are bugs to fix in releases a branch is created from a tag, the bug is fixed and then merged from there into trunk.</p> <p>Now, for multiple reasons, I want to switch from SVN to mercurial with a central push site.</p> <p>Question: Which is the best way in mercurial to organize multiple projects that share little code between them? Should I create multiple push sites, one for each project?</p> <p>Please include in the answer a description on how to recreate my release-tag, bugfix branch, ... with your preferred version of repository design.</p> <p>Edit: I would like to install as little extensions as possible.</p> <p>Edit2:</p> <p>Given this SVN layout:</p> <pre><code>. |-- project-a | |-- branches | | |-- 1.x | | `-- feature-1 | |-- tags | `-- trunk `-- project-b |-- branches |-- tags | |-- 1.0 | `-- 1.1 `-- trunk </code></pre> <p>(thanks @bendin! :) )</p> <p>Is it better to work with multiple hg push repositories</p> <pre><code>project_a-trunk project_a-1.x project_a-feature-1 project_b-trunk </code></pre> <p>for the branches. Tags are folded into the appropriate branch.</p> <p>Or would you rather go with two push repositories in this example</p> <pre><code>project_a project_b </code></pre> <p>with named branches and therefore multiple heads within one repo.</p> <p>The advantage I see with the multiple heads repos is that I don't have to go hunt for a tag in multiple repos. The disadvantage I see is that the hg book seems to discourage multiple head repos. What would/do you do?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload