Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I want to re-suggest <a href="https://bitbucket.org/durin42/hgsubversion/wiki/Home" rel="nofollow">hgsubversion</a> as a solution. In the normal case, it is used to access a Subversion repository using <code>hg</code>, but you can use it to convert a Mercurial repository to Subversion as well if you are not afraid to work on your history of changesets. (If you know how to work with changesets, you have quite a bit of control over the process.)</p> <p>Essentially, you have to do the following steps:</p> <ol> <li>Make your Mercurial history linear (this is required for Subversion); you can use the <a href="http://mercurial.selenic.com/wiki/CollapseExtension" rel="nofollow">Collapse extension</a> to collapse any non-linear area of the history into a single changeset</li> <li>Create a Subversion repository or directory and <code>hg pull</code> this SVN path (using hgsubversion) into your Mercurial repository. The Subversion path may have to be non-empty for this, but as long as there is no overlap with the files in the Mercurial repository, this should be fine.</li> <li>Rebase all of the changesets from the Mercurial history on top of the head of the Subversion history. This is done using the <a href="http://mercurial.selenic.com/wiki/RebaseExtension" rel="nofollow">Rebase extension</a>. If there is no overlap, this should be an automatic operation.</li> <li>Use <code>hg push</code> to send the result back to Subversion. The linear set of changes that descend from the former head of the Subversion repository will be added to the Subversion path.</li> </ol> <p>Check <a href="http://blog.kalleberg.org/post/2337246985/merging-a-mercurial-repository-back-into-subversion" rel="nofollow">this blog article</a> for some concrete command-line commands that you can use.</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. 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.
 

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