Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to split an SVN folder into its own repository when it has been renamed?
    primarykey
    data
    text
    <p>I want to split a directory from a large Subversion repository to a repository of its own, and keep the history of the files in that directory.</p> <p>I tried the regular way of doing it first</p> <pre><code>svnadmin dump /path/to/repo &gt; largerepo.dump cat largerepo.dump | svndumpfilter include my/directory &gt;mydir.dump </code></pre> <p>but that does not work, since the directory has been moved and copied over the years and files have been moved into and out of it to other parts of the repository. The result is a lot of these:</p> <pre><code>svndumpfilter: Invalid copy source path '/some/old/path' </code></pre> <p>Next thing I tried is to include those <code>/some/old/path</code> as they appear and after a long, long list of files and directories included, the svndumpfilter completes, BUT importing the resulting dump isn't producing the same files as the current directory has.</p> <p><strong>So, how do I properly split the directory from that repository while keeping the history?</strong></p> <p><strong>EDIT:</strong> I specifically want <code>trunk/myproj</code> to be the trunk in a new repository PLUS have the new repository include none of the other old stuff, ie. there should not be possibility for anyone to update to old revision before the split and get/see the files.</p> <p>The svndumpfilter solution I tried would achieve exactly that, sadly its not doable since the path/files have been moved around. The <a href="https://stackoverflow.com/questions/433276/svn-repository-split-problem#433304">solution by ng</a> isn't accetable since its basically a clone+removal of extras which keeps ALL the history, not just relevant myproj history.</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