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

Re: SVNSYNC

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 16 Jan 2015 15:30:32 +0000

"Somashekarappa, Anup (CWM-NR)" <anup.somashekarappa_at_rbc.com> writes:

> So I tried to change the url to ne url in Repository/db/revprops/0/0
> (in the unix server )

You should use svn to change the r0 revision properties, typically with
a file:/// URL to the destination repository:

 svn proplist -v --revprop -r0 file:///...
 svn propset --revprop -r0 svn:sync-from-url NEW_SRC_URL file:///...

but those will not work now as you have corrupted the r0 revprop file.

> but got the below error.Should I initialze the
> repositoy in slave with new url and start the sync process from
> starting OR any other way to continue?
>
>
> svnsync: E175002: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
> svnsync: E175008: At least one property change failed; repository is unchanged
> svnsync: E175002: Error setting property 'sync-lock':
> Serialized hash malformed

You have corrupted the r0 revprop file. Revert the edit and then you
can use propset to set the new URL. Create/initialise a new repository
and use it's revprop file as a template.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-01-16 16:31:54 CET

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.