Strange long file-transfer-time by drag-and-drop operation

29 views
Skip to first unread message

Yakov Erlich <yakov.e@EIMMORE.CO.IL>

unread,
Sep 26, 2021, 4:53:41 AM9/26/21
to TortoiseSVN

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.

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)

  Thanks,

     Yakov Erlich  [yak...@eimmore.co.il]

     

drag-and-drop.jpg
Checkout.jpg

Daniel Sahlberg

unread,
Sep 26, 2021, 5:20:22 AM9/26/21
to TortoiseSVN on behalf of Yakov Erlich <yakov.e@EIMMORE.CO.IL>
Den sön 26 sep. 2021 kl 10:53 skrev Yakov Erlich &lt;yak...@EIMMORE.CO.IL&gt; via TortoiseSVN <torto...@googlegroups.com>:

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.


Kind regards,
Daniel Sahlberg

Yakov Erlich <yakov.e@EIMMORE.CO.IL>

unread,
Sep 30, 2021, 3:41:05 AM9/30/21
to TortoiseSVN
Hello  Daniel,
Thank you for help.
I understand you explanation and will test Export command. 
But any way, the drag-and-drop operation is very convenient and I use it for short files/projects.
   Best Regards,
     Yakov Erlich
Reply all
Reply to author
Forward
0 new messages