You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Peter N. Lundblad" <pe...@famlundblad.se> on 2004/10/12 18:59:58 UTC

Re: [PATCH] Re: slow status, next version

On Sun, 10 Oct 2004, Greg Hudson wrote:

>   If there is a separate anchor and target:
>     Lock the anchor with depth 0
>     Lock the target with depth (recursive ? -1 : 1)
>   Else
>     Lock the anchor with depth (recursive ? -1 : 1)
>
Need to take are of the update case further down in the function as well.
Here's another try. Passes tests over ra_local. It wasn't as simple as you
stated, but I hope it is correct now.

Thanks for this and many other reviews, Greg.

Regards,
//Peter

Re: [PATCH] Re: slow status, next next version

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Mon, 25 Oct 2004, Barry Scott wrote:

> Am I right in assuming that this is still not fixed 1.1.1?
>
> I see 4.6 seconds to do svn st -N of the top of the 1.1.1 tag in my
> working copy.

> Let me ask a simple question: Why do you need to lock at all to get a
> status?
> If locking is a problem stop doing it :-)
>
Should be fixed in r11439, but it was fixed rather late in the 1.1.1 cycle
and I didn't want to include more stuff in 1.1.1 at that time. It owuld be
nice to know, however, if it makes any different if you could try the
patch out.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Re: slow status, next next version

Posted by Barry Scott <ba...@barrys-emacs.org>.
Am I right in assuming that this is still not fixed 1.1.1?

I see 4.6 seconds to do svn st -N of the top of the 1.1.1 tag in my 
working copy.
After its in the windows cache its faster.

Let me ask a simple question: Why do you need to lock at all to get a 
status?
If locking is a problem stop doing it :-)

Barry


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Re: slow status, next next version

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 12 Oct 2004, Peter N. Lundblad wrote:

> On Tue, 12 Oct 2004, Peter N. Lundblad wrote:
>
> > Need to take are of the update case further down in the function as well.
> > Here's another try. Passes tests over ra_local. It wasn't as simple as you
> > stated, but I hope it is correct now.
> >
> And of course I hit send a little too early. It breaks a test. Will send
> another one. Sorry.
>
Here we go again. It actually passes the tests this time. I replaced a
wc_adm_retrieve with wc_adm_probe_retrieve...

Re: [PATCH] Re: slow status, next version

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 12 Oct 2004, Peter N. Lundblad wrote:

> Need to take are of the update case further down in the function as well.
> Here's another try. Passes tests over ra_local. It wasn't as simple as you
> stated, but I hope it is correct now.
>
> Thanks for this and many other reviews, Greg.
>
And of course I hit send a little too early. It breaks a test. Will send
another one. Sorry.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org