Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: broken lock test

subversion
Discussion topic

Back to topic list

Re: broken lock test

Author Daniel Shahaf <d dot s at daniel dot shahaf dot name>
Full name Daniel Shahaf <d dot s at daniel dot shahaf dot name>
Date 2009-01-26 22:18:17 PST
Message Blair Zajac wrote on Mon, 26 Jan 2009 at 19:19 -0800:
>
> On Dec 26, 2008, at 5:16 AM, Daniel Shahaf wrote:
>
> > Brieuc Jeunhomme wrote on Fri, 28 Nov 2008 at 17:41 +0100:
> > >
> > > Hi,
> > >
> > > I have found something that looks to me like a bug, although I don't
> > > know how I came to this situation. I have more detail about the problem
> > > if needed, I can fill a bug report with all of it if it's confirmed it
> > > is a bug.
> > >
> > >
> > >
> > > I am the only one using the svn repository, on a remote server
> > > (svn+ssh://...). I am using 1.5.4. The symptoms are the following: I
> > > try to do an update, svn complains about a lock and suggests a cleanup.
> > > I perform a cleanup, and try to update again, without any success.
> > >
> > >
> > > % svn update
> > >
> > > Fetching external item into 'specs'
> > > svn: Working copy 'specs' locked
> > > svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> > > details)
> > > % ./build-subversion-1​.5.4/bin/svn cleanup
> > > % ./build-subversion-1​.5.4/bin/svn update
> > >
> > > Fetching external item into 'specs'
> > > svn: Working copy 'specs' locked
> > > svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> > > details)
> > >
> >
> > Yes, that's obviously a bug --- especially if you can reproduce it with
> > a new checkout (i.e., it's not something gone broken in that specific
> > working copy).
> >
> > Can you show us how to reproduce this bug, starting with a new
> > repository? If possible, package the instructions as a script (e.g.,
> > http://svn.tigris.or​g/repro-template.sh)​. Thanks.
>
> Fyi, Brieuc opened a ticket on this
>
> http://subversion.ti​gris.org/issues/show​_bug.cgi?id=3363
>
> which I closed without seeing this the link back to this thread.
>
> There's two separate issues. One that doing potentially multiple control-C's
> to svn can leave the working copy in a locked state. The code currently
> catches signals and does the best job to clean up the wc and leave it in a
> good state, but you can always kill -9 or potentially send enough control-C's
> to kill it and leave the wc in a locked state.
>

Well, sure, if you do 'kill -9', the wc will remain locked. But I don't
think Brieuc said (in the email) that he did used either that or ^C. So
I assumed no signals were involved.

> The other issue is that svn cleanup could be improved to descend into
> svn:externals and also clean those up.
>

Agreed.

Daniel

> So I don't see a bug here, only potentially an improvement to svn cleanup.
>
> Regards,
> Blair
>

« Previous message in topic | 4 of 12 | Next message in topic »

Messages

Show all messages in topic

broken lock test Brieuc Jeunhomme <bbp at via dot ecp dot fr> Brieuc Jeunhomme <bbp at via dot ecp dot fr> 2008-11-28 08:41:33 PST
     Re: broken lock test Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2008-12-26 05:16:19 PST
         Re: broken lock test bjz Blair Zajac 2009-01-26 19:19:18 PST
             Re: broken lock test Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-01-26 22:18:17 PST
                 Re: broken lock test bjz Blair Zajac 2009-01-26 23:46:10 PST
             Re: broken lock test "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-27 06:28:21 PST
                 'svn cleanup' upgrades? (was: Re: broken lock test) Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-01-27 10:24:49 PST
                     Re: 'svn cleanup' upgrades? "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-27 10:51:42 PST
                         Re: 'svn cleanup' upgrades? Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-01-27 11:06:58 PST
                             Re: 'svn cleanup' upgrades? gstein Greg Stein 2009-01-27 11:14:22 PST
                                 Re: 'svn cleanup' upgrades? "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-01-27 11:15:24 PST
                         Re: 'svn cleanup' upgrades? gstein Greg Stein 2009-01-27 11:13:14 PST
Messages per page: