SVNForum.org Forum Index FAQFAQ SearchSearch MemberlistMemberlist RegisterRegister Log inLog in

Download Subversion 1.6.12: Free Subversion TrainingWindows - Free Subversion TrainingCentOS 5 - Free Subversion TrainingRedhat Enterprise Linux 5 - Free Subversion TrainingUbuntu 9/10.04 - Free Subversion TrainingDebian Lenny (5)

Free Subversion Training: Free Subversion TrainingAll About Checkouts Free Subversion TrainingUsing the Subversion Diff Command Free Subversion TrainingSubversion Administration Best Practices Free Subversion TrainingAll About Subversion Hook Scripts
 
using svnsync on Windows?

 
Post new topic   Reply to topic    SVNForum.org Forum Index -> Windows
View previous topic :: View next topic  
Author Message
coolkhu



Joined: 01 Feb 2008
Posts: 3

PostPosted: Wed Feb 13, 2008 8:13 am    Post subject: using svnsync on Windows? Reply with quote

hello

can anybody tell me how to use svnsync on WINDOWS

I tried it but when I run svnsync with init subcommands I get the following error and it hangs too

[svnsync: DAV request failed; it's possible that the repository's pre-revprop-cha
nge hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged]


Can anybody help plz?

Thanks
Khurram
Back to top
View user's profile Send private message
dextrous



Joined: 27 Aug 2007
Posts: 445
Location: India

PostPosted: Tue Feb 19, 2008 1:10 pm    Post subject: Reply with quote

Have you changed the pre-rev-prop hook??
_________________
Regards,
Vishwajeet Singh
http://bootstraptoday.com
http://www.singhvishwajeet.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
nirav2003



Joined: 15 Apr 2008
Posts: 1

PostPosted: Tue Apr 15, 2008 4:26 pm    Post subject: Reply with quote

Hi,

I am also new to SVN in Windows but following things worked for me.

1.
updating pre-revprop-change.tmpl to pre-revprop-change.bat and than changing content as follows

comment out all above line with windows comment syntex(:Smile and pest following code
IF "%3" == "xxx" (goto :label1) else (echo "Only the nshah user may change revision properties" >&2 )

exit 1
goto :eof

:label1
exit 0

2.
updating start-commit.tmpl to start-commit.bat and than changing content as follows

comment out all above line with windows comment syntex(:Smile and pest following code

IF "%2" == "nshah" (goto :label1) else (echo "Only the nshah user may commit new revisions" >&2 )

exit 1
goto :eof

:label1
exit 0

3.
stop the svn destination server

4.
Go to Subversion install bin directory in command prompt or include this directory in your class path.

5.
svnsync initialize file:///C:/svn-test/java http://192.168.0.1:80/svn/java --username xxx --password xxx

6.
start svn destination server.

7.
svnsync sync svn://localhost --username xxx --password xxx

Regards,
Nirav
Back to top
View user's profile Send private message
jtruxon



Joined: 06 Aug 2008
Posts: 1

PostPosted: Wed Aug 06, 2008 10:28 am    Post subject: windows pre-revprop-change hook Reply with quote

It also worked for me when I just created an empty bat file with the name pre-revprop-change.bat in the /hooks folder.

ref:
http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/#comment-129
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Post new topic   Reply to topic    SVNForum.org Forum Index -> Windows All times are GMT - 4 Hours
Page 1 of 1
Display posts from previous:   
Google
 
Web SVNForum.org