Note that there are some explanatory texts on larger screens.

plurals
  1. POMaintaining product isolation within multiple repositories with Mercurial
    text
    copied!<p>We have a large site that runs CodeIgniter that we're currently in the process of outlining a better Mercurial setup then what we have now. Our thinking right now is that with the following repo setup we will merge multiple products into an <code>alpha</code> environment. Once it's approved by sales it'll go into <code>uat</code> for customer approval.</p> <pre><code> [LIVE] | [UAT] | [ALPHA] / | \ [PRODUCT1] [PRODUCT2] [PRODUCT3] </code></pre> <p>Our concern is how to handle the situation where <code>product1</code> and <code>product2</code> have both merged in <code>alpha</code> and made it to <code>uat</code>, but <code>product2</code> needs to be removed from <code>uat</code> because the customer has found issues that need to be resolved, but <code>product</code> still needs to go LIVE. This is a problem because based on our understanding of Mercurial it's not quite built to split off a product or remove a specific tree of changesets.</p> <p>Any ideas on how this can be accomplished in a simple manner? Is Mercurial the right solution or is there something else we should look into? Have you run into this scenario, what did you do?</p> <p><strong>Update</strong></p> <p>I've been reading up on Bookmarks. With them being carried with pulls/pushes it possible to use Bookmarks to track versions such as <code>product1 v1.4.21</code> to control which versions of products are included within these multiple repositories?</p> <p>Bookmarks don't seem like the best solution, because it still doesn't allow for me to remove the changesets from <code>product2</code> within the <code>alpha</code> repository, leaving only <code>product1</code> within the <code>alpha</code> repository.</p>
 

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