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

Re: can't delete svn:sync-lock

From: Andrew Sasak <andrew.sasak_at_gmail.com>
Date: Thu, 27 Jan 2011 16:32:16 -0500

It was a hook preventing the deletion, not sure why I got a success message.
Thanks

On Thu, Jan 27, 2011 at 4:28 PM, Stefan Sperling <stsp_at_elego.de> wrote:

> On Thu, Jan 27, 2011 at 04:22:30PM -0500, Andrew Sasak wrote:
> > svn propdel svn:sync-lock --revprop -r 0 REPO_URL
>
> That looks good.
>
> Maybe there is pre-revprop-change hook the prevents the prop from
> being deleted?
>
> It works here with a pre-revprop-change hook that simply does "exit 0".
>
> I'm not sure why you are seeing a message that indicates sucess
> even though deletion fails...
>
> In a working copy from the test repository:
>
> $ svn ps --revprop -r0 svn:svnsync-lock '*' ^/
> property 'svn:svnsync-lock' set on repository revision 0
> $ svn pl --revprop -v -r0 ^/
> Unversioned properties on revision 0:
> svn:svnsync-lock
> *
> svn:date
> 2011-01-27T20:55:31.311289Z
> $ svn pd --revprop -r0 svn:svnsync-lock ^/
> property 'svn:svnsync-lock' deleted from repository revision 0
> $ svn pl --revprop -v -r0 ^/
> Unversioned properties on revision 0:
> svn:date
> 2011-01-27T20:55:31.311289Z
> $
>
Received on 2011-01-27 22:32:53 CET

This is an archived mail posted to the Subversion Users mailing list.