Re: New SVNSYNC bug?
From: David Summers <david_at_summersoft.fay.ar.us>
Date: Tue, 29 Apr 2008 14:11:37 -0500 (CDT)
On Tue, 29 Apr 2008, Lieven Govaerts wrote:
> Justin Erenkrantz wrote:
Maybe I'm not understanding (terminology?) something, but here is my
1. I commit from a WinXP SP2 client using Subversion command-line client
2. The master server receives the commit and in the post-commit hook does
3. On the slave server I have svnserve running (svn method) to do the sync
When I then subsequently check the slave server with "svn log -v" then I
Hope that helps. I'm working on setting up a controlled test with rc3 to
When I backed the slave back down from rc3 to r27613 then things started
Also, I'm beginning to wonder if the problem only showed up on a slave
Here is my script I use to create slave repos:
usage() {
if [ ! -f repos/TEMPLATE/README.txt ]; then
if [ "$1"x = "x" ]; then
if [ "$2"x = "x" ]; then
REPO_NAME=$1
result=`echo $SOURCE_REPOSITORY | grep -i http://`
if [ "$result"x = "x" ]; then
# Create new repository
# Zap initial template files
# Copy template hooks from TEMPLATE repo
# Zap initial conf files.
# Setup svnserve.conf
# Get UUID from source repository
echo UUID = \"$uuid\"
echo $uuid > repos/$REPO_NAME/db/uuid
# Set up for SYNC operation
svn ps svn:sync-from-url svn://samson/$REPO_NAME file:///home/svnroot/repos/$REPO_NAME -r0 --revprop --username=svnsync
chown -R apache:apache repos/$REPO_NAME
exit 0
Here is my script I run on the master server to sync to the slave
"C:\Program Files\Subversion\bin\svnsync" sync svn://razorback/%1%
(with appropriate user and password not shown here)
-- David Wayne Summers "Linux: Because reboots are for hardware upgrades!" david@summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt PGP Key fingerprint = 0B44 B118 85CC F4EC 7021 1ED4 1516 5B78 E320 2001 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: dev-help_at_subversion.tigris.orgReceived on 2008-04-29 21:12:08 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.