RE: svnsync on large files
From: Stümpfig, Thomas <thomas.stuempfig_at_siemens.com>
Date: Thu, 8 Dec 2016 07:36:10 +0000
Hi Daniel,
I guess the magic is in the difference of network transmission of svnsync vs svnrdump / svnadmin load
Are there suggestions from your side to avoid this error in the future?
Thank you very much for your help!!!
Regards
-----Original Message-----
Stümpfig, Thomas wrote on Wed, Dec 07, 2016 at 23:32:38 +0000:
The steps should be this:
f() {
Note:
1. Using the same metadata revprops and order as svnsync.
2. The fgrep is to make up for the svn:sync-lock not being taken atomically. (The cmdline client passes NULL for the ORIGINAL_PROPVAL argument of svn_client_revprop_set2().)
3. Using a tmpfile since the dumpfile format isn't truncation-safe.
4. $RANDOM isn't in POSIX; if not available, substitute the first N bytes from /dev/urandom.
5. Make sure to use the correct source URL on the dump command.
6. The hooks may need tweaking.
Cheers,
Daniel
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.