Den sön 26 sep. 2021 kl 10:53 skrev Yakov Erlich <[email protected]>
via TortoiseSVN <[email protected]>:

> Hello!
>
> I use TortoiseSVN browser 1.14.1, Build 29085      VisualSVN Server 4.3.4
>
> I encountered with strange long file-transfer-time by TortoiseSVN
> drag-and-drop operation, regarding Checkout one.
>
> (That was in older TortoiseSVN versions also)
>
> Please explain or fix that.
>
> *Details.*
>
> Several times I "take" projects from SVN Repository to check s/t or to
> diff it with my current project. Not for changes.
> Always I use TortoiseSVN browser.
>
> To get such project I have 2 options:
>
>    1. I can I drag-and-drop such projects (i.e., Altera/MINI_MEAP_E/trunk
>    as shown in *drag-and-drop.jpg*) to my desktop.
>    2. Or use TortoiseSVN browser->right click on project->choose
>    "Checkout…" context menu option (see *Checkout.jpg*)
>
> I did a measure to compare time of file transfer of 'checkout' vs 'drag
> and drop'. And result is very confused
>
> 1.       'drag and drop' file transfer took *22 min !!!*
> From *MyPrj/trunk* to *D:\tmp*
> Total size *D:\tmp* :  4 GB, ~14000 files.
>
It seems like the drag-and-drop case is downloading each individual file to
the %TEMP% folder (C:\Users\Username\Appdata\Local\Temp in my case) and
then copying the files to the destination folder. This is equivalent to the
"Export" option in the second screenshot. However Export seems to be
downloading the files directly to the target folder and just renaming them
inplace so I would expect that you get a significant performance
improvement using Export.

> 2.       'Checkout' took *8 min*.
> From *MyPrj/trunk* to *D:\tmp2*
> Total size *D:\tmp2 *: 8 GB, ~14000 files  (.svn folder: 4 GB,
> MyPrj/trunk folder:  4 GB)
>
Checkout is creating a new working copy which is required if you intend to
make changes and committing back to the repository. A part of the design
for Subversion is to store the original files in the .svn folder (this is
called "pristine copies" using the subversion terminology). Working copies
are thus twice the size of the actual repository. If you don't need these
pristine copies, you are better off using Export.

There is a suggestion within the Subversion project to create a new
"pristine-less working copy format", see [1] in case someone is interested.

[1]
http://mail-archives.apache.org/mod_mbox/subversion-dev/202107.mbox/%3C874kcf6xin.fsf%40red-bean.com%3E


Kind regards,
Daniel Sahlberg

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/CAMHy98OnAudMRXNXKdtpYwsTkPFSZs9mxvzo6xTz8ytnKhbN5g%40mail.gmail.com.

Reply via email to