Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>One option is to first create a local repository:</p> <pre><code>$ svnadmin create /path/to/your/repo </code></pre> <p>Once you've created the repository, initialize it for syncing:</p> <pre><code>$ svnsync init /path/to/your/repo /path/to/source/repo </code></pre> <p>Now that you're setup for syncing, sync to the new repository:</p> <pre><code>$ svnsync sync /path/to/source/repo </code></pre> <p>When you don't want to keep the whole repository because you only need a single subdirectory, but you still want the whole history in subversion, you can then create a repository containing only the relevant sections:</p> <pre><code>$ svnadmin dump /path/to/your/repo | svndumpfilter include /path/to/correct/tree \ &gt; /path/to/filtered/repository/backup </code></pre> <p>We now have a backup that has been filtered to include only the relevant tree. So, now let's restore that to a new, usable repository:</p> <pre><code>$ svnadmin load --ignore-uuid /path/to/treeonly/repository \ &lt; /path/to/filtered/repository/backup </code></pre> <p>See the help on <a href="http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svnsync" rel="nofollow">svnsync</a>, on <a href="http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.replication" rel="nofollow">repository replication</a>, and <a href="https://inst.eecs.berkeley.edu/~cs61b/fa09/docs/svn-book-html-chunk/svn.reposadmin.maint.html" rel="nofollow">repository filtering</a>.</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.
    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