You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2015/08/20 17:53:04 UTC
svn commit: r1696809 - /subversion/trunk/notes/svnsync.txt
Author: philip
Date: Thu Aug 20 15:53:04 2015
New Revision: 1696809
URL: http://svn.apache.org/r1696809
Log:
* notes/svnsync.txt: Update auth parameters.
Modified:
subversion/trunk/notes/svnsync.txt
Modified: subversion/trunk/notes/svnsync.txt
URL: http://svn.apache.org/viewvc/subversion/trunk/notes/svnsync.txt?rev=1696809&r1=1696808&r2=1696809&view=diff
==============================================================================
--- subversion/trunk/notes/svnsync.txt (original)
+++ subversion/trunk/notes/svnsync.txt Thu Aug 20 15:53:04 2015
@@ -27,14 +27,17 @@ exit 1
EOF
$ chmod +x dest/hooks/pre-revprop-change
-$ svnsync init --username svnsync file://`pwd`/dest \
- http://svn.example.org/source/repos
+$ svnsync init --sync-username svnsync file://`pwd`/dest \
+ --source-username user http://svn.example.org/source/repos
Copied properties for revision 0
$
Note that the arguments to 'svnsync init' are two arbitrary repository
URLs. The first is the destination, which must be empty, and the second
-is the source.
+is the source. Credentials for the source repository can be provided
+using --source-username/--source-password and for the destination using
+--sync-username/--sync-password. These credentials are cached in the
+same way other credentials are cached.
Now you can just run the 'svnsync sync' command to synchronize pending
revisions. This will copy any revisions that exist in the source repos