You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Steven Woody <na...@gmail.com> on 2009/04/26 11:06:39 UTC

svnsync init: DAV request failed

Hi,

I was trying to use svnsync, and when I issued 'svnsync initialize
http://office:8087/svn/prj-x.mirror https://laptop:8443/svn/prj-x
--syn-username syncuser --sync-password password',  I got the
following error:

svnsync: DAV request failed; it's possible that the repository's
pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged
svnsync: Error setting property 'sync-lock':
could not remove a property

I tried to use a dummy pre-revpro-change that only contains a "exit 0"
line, but the svnsync command still failed.

Does anyone get any clue?  Thanks in advance.


ps. The target subversion repository is hosted on a 1.5.5 subversion
server running on Linux;  the source repository is hosted on a 1.7.1
VisualSvn manager running on Windows XP; The 'svnsync' is 1.6.1
runnnig in cygwin.

-- 
narke

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1927187

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnsync init: DAV request failed

Posted by Steven Woody <na...@gmail.com>.
On Tue, Apr 28, 2009 at 8:30 AM, Steven Woody <na...@gmail.com> wrote:
> On Mon, Apr 27, 2009 at 3:37 PM, Stephen Butler <sb...@elego.de> wrote:
>> Quoting Steven Woody <na...@gmail.com>:
>>
>>> Hi,
>>>
>>> I was trying to use svnsync, and when I issued 'svnsync initialize
>>> http://office:8087/svn/prj-x.mirror https://laptop:8443/svn/prj-x
>>> --syn-username syncuser --sync-password password',  I got the
>>> following error:
>>>
>>> svnsync: DAV request failed; it's possible that the repository's
>>> pre-revprop-change hook either failed or is non-existent
>>> svnsync: At least one property change failed; repository is unchanged
>>> svnsync: Error setting property 'sync-lock':
>>> could not remove a property
>>>
>>> I tried to use a dummy pre-revpro-change that only contains a "exit 0"
>>> line, but the svnsync command still failed.
>>
>> Is the hook script executable?
>>
>> Does the apache user have permission to execute the hook script?
>
> Yes, I applied 'chmod a+x' on the script.
>

Thank you! After I 'chown' of the repository to apache.apache, it
works like a scream

-- 
narke

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2053791

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svnsync init: DAV request failed

Posted by Steven Woody <na...@gmail.com>.
On Mon, Apr 27, 2009 at 3:37 PM, Stephen Butler <sb...@elego.de> wrote:
> Quoting Steven Woody <na...@gmail.com>:
>
>> Hi,
>>
>> I was trying to use svnsync, and when I issued 'svnsync initialize
>> http://office:8087/svn/prj-x.mirror https://laptop:8443/svn/prj-x
>> --syn-username syncuser --sync-password password',  I got the
>> following error:
>>
>> svnsync: DAV request failed; it's possible that the repository's
>> pre-revprop-change hook either failed or is non-existent
>> svnsync: At least one property change failed; repository is unchanged
>> svnsync: Error setting property 'sync-lock':
>> could not remove a property
>>
>> I tried to use a dummy pre-revpro-change that only contains a "exit 0"
>> line, but the svnsync command still failed.
>
> Is the hook script executable?
>
> Does the apache user have permission to execute the hook script?

Yes, I applied 'chmod a+x' on the script.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1959272

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svnsync init: DAV request failed

Posted by Stephen Butler <sb...@elego.de>.
Quoting Steven Woody <na...@gmail.com>:

> Hi,
>
> I was trying to use svnsync, and when I issued 'svnsync initialize
> http://office:8087/svn/prj-x.mirror https://laptop:8443/svn/prj-x
> --syn-username syncuser --sync-password password',  I got the
> following error:
>
> svnsync: DAV request failed; it's possible that the repository's
> pre-revprop-change hook either failed or is non-existent
> svnsync: At least one property change failed; repository is unchanged
> svnsync: Error setting property 'sync-lock':
> could not remove a property
>
> I tried to use a dummy pre-revpro-change that only contains a "exit 0"
> line, but the svnsync command still failed.

Is the hook script executable?

Does the apache user have permission to execute the hook script?

Regards,
Steve

-- 
Stephen Butler | Software Developer
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
fon: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




svnsync init: DAV request failed

Posted by Steven Woody <na...@gmail.com>.
Hi,

I was trying to use svnsync, and when I issued 'svnsync initialize
http://office:8087/svn/prj-x.mirror https://laptop:8443/svn/prj-x
--syn-username syncuser --sync-password password',  I got the
following error:

svnsync: DAV request failed; it's possible that the repository's
pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged
svnsync: Error setting property 'sync-lock':
could not remove a property

I tried to use a dummy pre-revpro-change that only contains a "exit 0"
line, but the svnsync command still failed.

Does anyone get any clue?  Thanks in advance.


ps. The target subversion repository is hosted on a 1.5.5 subversion
server running on Linux;  the source repository is hosted on a 1.7.1
VisualSvn manager running on Windows XP; The 'svnsync' is 1.6.1
runnnig in cygwin.

--
narke

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1944532

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].