Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This can absolutely be done. You'll want to use the <code>hg convert</code> command. Here's the process I'd use:</p> <ol> <li>convert everything to a single hg repository using <code>hg convert</code> with a source type of svn and a dest type of hg (it sounds like you've already done this step)</li> <li>create a collection of <code>filemap</code> files for use with <code>hg convert</code>'s <code>--filemap</code> option</li> <li>run <code>hg convert</code> with source type <code>hg</code> and dest type <code>hg</code> and the source being the mercurial repo created in step one -- and do it for each of the filemaps you created in step two.</li> </ol> <p>The filemap syntax is shown in the <code>hg help convert</code> output, but here's the gist:</p> <pre><code>The filemap is a file that allows filtering and remapping of files and directories. Comment lines start with '#'. Each line can contain one of the following directives: include path/to/file exclude path/to/file rename from/file to/file </code></pre> <p>So in your example your filemaps would look like this:</p> <pre><code># this is Core.filemap include Core rename Core . </code></pre> <p>Note that if you have an include that the exclusion of everything else is implied. Also that rename line ends in a dot and moves everything up one level.</p> <pre><code># this is Core.Tests include Core.Tests rename Core.Tests . </code></pre> <p>and so on.</p> <p>Once you've created the broken-out repositories for each of the new repos, you can delete the has-everything initial repo created in step one and start setting up your subrepo configuration in <code>.hgsub</code> files.</p>
    singulars
    1. This table or related slice is empty.
    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.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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