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

Re: svn up --set-depth exclude takes very long time

From: Pavel Lyalyakin <pavel.lyalyakin_at_visualsvn.com>
Date: Wed, 20 Mar 2019 20:46:20 +0300

Hello Holger,

On Wed, Mar 20, 2019 at 2:33 PM Weiss, Holger <
Holger.Weiss_at_continental-corporation.com> wrote:
>
> Hi,
>
> having a very big working copy (>100GB) want to exclude “folderA”
(~2.5GB) from this wc via “svn up –set-depth exclude folderA” .
> This command takes very long time – did not finish after 2 days when
doing this on a NFS mounted dir.
> Even when the wc is on a local disk, it takes very long time (>1day).
> I am using SVN 1.7.14.

Note that SVN 1.7.x is not supported and you should plan an upgrade to the
latest SVN 1.10.x (LTS) or SVN 1.11.x (regular time-based release) builds.

> Why does the “exclude” take such a long time and what can be done to make
it faster ?

I guess that it's not the only operation that is slow on the network share,
right? Please, upgrade your SVN client and try the same operation with the
exclusive locking option[1]. See SVNBook 1.8 about exclusive-locking
runtime configuration option[2].

Here is an example:
[[[
svn update --config-option config:working-copy:exclusive-locking=true
–set-depth exclude folderA
]]]

--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Received on 2019-03-20 18:47:12 CET

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