<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>svnsync initialize</title><link rel="stylesheet" href="styles.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /><link rel="start" href="index.html" title="Version Control with Subversion" /><link rel="up" href="svn.ref.svnsync.html#svn.ref.svnsync.c" title="svnsync Subcommands" /><link rel="prev" href="svn.ref.svnsync.c.copy-revprops.html" title="svnsync copy-revprops" /><link rel="next" href="svn.ref.svnsync.c.sync.html" title="svnsync synchronize" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">svnsync initialize</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="svn.ref.svnsync.c.copy-revprops.html">Prev</a> </td><th width="60%" align="center"><span class="command"><strong>svnsync</strong></span> Subcommands</th><td width="20%" align="right"> <a accesskey="n" href="svn.ref.svnsync.c.sync.html">Next</a></td></tr></table><hr /></div><div class="refentry" lang="en" xml:lang="en"><a id="svn.ref.svnsync.c.init"></a><div class="titlepage"></div><a id="id426128" class="indexterm"></a><div class="refnamediv"><h2>Name</h2><p>svnsync initialize — Initialize a destination repository for synchronization from another repository.</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="id426155"></a><h2>Synopsis</h2><pre class="programlisting">svnsync initialize DEST_URL SOURCE_URL</pre></div><div class="refsect1" lang="en" xml:lang="en"><a id="id426167"></a><h2>Description</h2><p><span class="command"><strong>svnsync initialize</strong></span> verifies that a repository meets the requirements of a new mirror repository—that it has no previous existing version history, and that it allows revision property modifications—and records the initial administrative information which associates the mirror repository with the source repository. This is the first <span class="command"><strong>svnsync</strong></span> operation you run on a would-be mirror repository.</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="id426192"></a><h2>Alternate Names</h2><p>init</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="id426202"></a><h2>Options</h2><pre class="screen"> --non-interactive --no-auth-cache --username NAME --password PASS --config-dir DIR </pre></div><div class="refsect1" lang="en" xml:lang="en"><a id="id426215"></a><h2>Examples</h2><p>Fail to initialize a mirror repository due to inability to modify revision properties:</p><pre class="screen"> $ svnsync initialize file:///var/svn/repos-mirror http://svn.example.com/repos svnsync: Repository has not been enabled to accept revision propchanges; ask the administrator to create a pre-revprop-change hook $ </pre><p>Initialize a repository as a mirror, having already created a pre-revprop-change hook which permits all revision property changes:</p><pre class="screen"> $ svnsync initialize file:///var/svn/repos-mirror http://svn.example.com/repos Copied properties for revision 0. $ </pre></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="svn.ref.svnsync.c.copy-revprops.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="svn.ref.svnsync.html#svn.ref.svnsync.c">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="svn.ref.svnsync.c.sync.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">svnsync copy-revprops </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> svnsync synchronize</td></tr></table></div></body></html>