| View previous topic :: View next topic |
| Author |
Message |
coolkhu
Joined: 01 Feb 2008 Posts: 3
|
Posted: Wed Feb 13, 2008 8:13 am Post subject: using svnsync on Windows? |
|
|
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 |
|
dextrous
Joined: 27 Aug 2007 Posts: 445 Location: India
|
|
| Back to top |
|
nirav2003
Joined: 15 Apr 2008 Posts: 1
|
Posted: Tue Apr 15, 2008 4:26 pm Post subject: |
|
|
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(: 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(: 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 |
|
jtruxon
Joined: 06 Aug 2008 Posts: 1
|
|
| Back to top |
|
|
View previous topic :: View next topic |