Discussion:
[wait on line]about svnsync
Dummy
2017-05-19 06:39:24 UTC
Permalink
dear subversion:when i exec : svnsync init svn://192.168.5.32/CMMI-mirror http://192.168.9.222/CMMI
i was given a error : please create a pre-revprop-change hook, but i already have one and it works by hand
i tried many solutions,but they are not available
so i need help o(šs¡õšt)o , could you please point out what the problem is?


here is the problem:
Andreas Stieger
2017-05-19 09:15:37 UTC
Permalink
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> <div>You have to create a working pre-revprop-change-hook.</div> <div>http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.replication.pre-revprop-change</div> <div>&nbsp; <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> <div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Freitag, 19. Mai 2017 um 08:39 Uhr<br/> <b>Von:</b>&nbsp;Dummy &lt;***@qq.com&gt;<br/> <b>An:</b>&nbsp;users &lt;***@subversion.apache.org&gt;<br/>
<b>Betreff:</b>&nbsp;[wait on line]about svnsync</div>

<div name="quoted-content">dear subversion:
<div>when i exec : <span style="color: rgb(255,0,0);">svnsync init svn://192.168.5.32/CMMI-mirror &nbsp;<a href="http://192.168.9.222/CMMI" target="_blank">http://192.168.9.222/CMMI</a></span></div>

<div>i was given a error :<span style="color: rgb(255,0,0);"> please create a pre-revprop-change hook</span>, but i already have one and it works by hand</div>

<div>i tried many solutions,but they &nbsp;are &nbsp;not available</div>

<div>so i need help o(&#9583;&#9633;&#9584;)o &nbsp;, could you please &nbsp;point out what the problem is?</div>

<div>&nbsp;</div>

<div>here is the problem:&nbsp;</div>

<div>&nbsp;</div>
</div>
</div>
</div>
</div></div></body></html>
Todd Armstrong
2017-05-24 18:48:00 UTC
Permalink
Try renaming your script w/out the .sh at the end.

See second paragraph at http://svnbook.red-bean.com/nightly/en/svn.ref.reposhooks.html.

From: Andreas Stieger [mailto:***@gmx.de]
Sent: Friday, May 19, 2017 4:16 AM
To: ***@subversion.apache.org
Subject: Re: about svnsync

You have to create a working pre-revprop-change-hook.
http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.replication.pre-revprop-change

Gesendet: Freitag, 19. Mai 2017 um 08:39 Uhr
Von: Dummy <***@qq.com<mailto:***@qq.com>>
An: users <***@subversion.apache.org<mailto:***@subversion.apache.org>>
Betreff: [wait on line]about svnsync
dear subversion:
when i exec : svnsync init svn://192.168.5.32/CMMI-mirror http://192.168.9.222/CMMI
i was given a error : please create a pre-revprop-change hook, but i already have one and it works by hand
i tried many solutions,but they are not available
so i need help o(╯□╰)o , could you please point out what the problem is?

here is the problem:

Eric Johnson
2017-05-19 16:15:33 UTC
Permalink
As best I can tell, the problem is that your hook scripts end in ".sh". The
file name should just be "pre-revprop-change".

Eric.
Post by Dummy
when i exec : svnsync init svn://192.168.5.32/CMMI-mirror
http://192.168.9.222/CMMI
i was given a error : please create a pre-revprop-change hook, but i
already have one and it works by hand
i tried many solutions,but they are not available
so i need help o(╯□╰)o , could you please point out what the problem is?
Loading...