Hi, What is the recommended method to keep an svn mirror in sync each time
a user commits? I have about 20 users posting commits throughout the day
and I would like to have the svn mirror duplicate or copy the current
commit from the source repo. I've tried putting this line in the source
repo post-commit file.
*svnsync sync file:///mnt/svn_mirror/* where svn_mirror is the target repo
but end up getting this error.
svnsync sync file:///mnt/svn_mirror/
Transmitting file data .....svnsync: E160004: Corrupt representation
'366133 106082 55 1620 4bd1fbfd9712b0660edfb5f56e9ef672'
svnsync: E160004: Malformed representation header
If I run the *svnsync sync file:///mnt/svn_mirror/* manually it works fine
and if I run it on a less frequently used repository it works fine, but I'm
guessing that when there are more users committing at a time or commits are
taking a longer period of time it may cause an issue? Could it also be a
date/time issue where if the date of the last synced revision on the target
is too far behind the source, the next svnsync will fail?
Both the source repo and the mirror target repo are on the same server.
Other recommended methods to accomplish this? Maybe svn notify?
My environment is:
- svn 1.11.0
- CentOS 7 64bit
Received on 2019-08-09 20:51:17 CEST