[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVNSYNC Error

From: David Chapman <dcchapman_at_acm.org>
Date: Tue, 31 Jul 2012 23:36:56 -0700

On 7/31/2012 11:16 PM, Honeylyn O. Fukuoka wrote:
> Hi,
> The repositories and the destination repositories are all running on
> windows.
> Im not really an expert on batch files/shell script
> development...That's why Im asking for your help :(
> I just followed what I was told to do here but I don't want to mess
> things up.
>

Here are the commands I ran on a Windows machine to synchronize from a
remote repository:

svnadmin create c:\user\work\repos
cd c:\user\work\repos\hooks
echo exit 0 > pre-revprop-change.bat
svnsync initialize file:///user/work/repos
http://repos.sourcedomain.com/repos
svnsync sync file:///user/work/repos

This ran just fine with SVN 1.6. Can you run something similar on your
Windows machine and let us know what results you get? Run the steps in
a new directory, not in the repository you just created. Note that the
source repository in my example is served by Apache, so it uses a
"http:" prefix. You would want to use a "svn:" prefix if you are using
svnserve access, as was implied by your original message.

Note that the destination repository is being accessed using the "file:"
protocol. The repository I created was not meant to be accessed by
other users; it is intended only to serve as a backup. If you are trying
to set up a write-through proxy then you will need something like
svnserve or Apache HTTP on the destination repository.

Also, depending on your repository directory names, you may need to use
quote marks around arguments. I recommend avoiding space characters in
your directory names for this test.

-- 
     David Chapman      dcchapman_at_acm.org
     Chapman Consulting -- San Jose, CA
     Software Development Done Right.
     www.chapman-consulting-sj.com
Received on 2012-08-01 08:37:36 CEST

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.