You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andrew Sasak <an...@gmail.com> on 2011/01/27 21:59:10 UTC
can't delete svn:sync-lock
using svn 1.6.13
When I attempt to delete it, it gives me a message indicating success,
however the property persists. Any ideas how to remove this? Can I safely
edit the revprops 0 file?
Re: can't delete svn:sync-lock
Posted by Andrew Sasak <an...@gmail.com>.
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 <st...@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
> $
>
Re: can't delete svn:sync-lock
Posted by Stefan Sperling <st...@elego.de>.
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
$
Re: can't delete svn:sync-lock
Posted by Andrew Sasak <an...@gmail.com>.
svn propdel svn:sync-lock --revprop -r 0 REPO_URL
On Thu, Jan 27, 2011 at 4:18 PM, Stefan Sperling <st...@elego.de> wrote:
> On Thu, Jan 27, 2011 at 03:59:10PM -0500, Andrew Sasak wrote:
> > using svn 1.6.13
> > When I attempt to delete it, it gives me a message indicating success,
> > however the property persists. Any ideas how to remove this? Can I safely
> > edit the revprops 0 file?
>
> What command were you using?
>
> svn:sync-lock is a revision property.
> Did you pass the --revprop option to svn propdel?
>
Re: can't delete svn:sync-lock
Posted by Stefan Sperling <st...@elego.de>.
On Thu, Jan 27, 2011 at 03:59:10PM -0500, Andrew Sasak wrote:
> using svn 1.6.13
> When I attempt to delete it, it gives me a message indicating success,
> however the property persists. Any ideas how to remove this? Can I safely
> edit the revprops 0 file?
What command were you using?
svn:sync-lock is a revision property.
Did you pass the --revprop option to svn propdel?