RE: Problem with partial check out
From: Bert Huijben <bert_at_qqmail.nl>
Date: Sat, 31 Mar 2012 10:57:27 +0200
Hi,
Are you sure you checked out the right directory from boost.
I performed a
$ svn co http://svn.boost.org/svn/boost/trunk boost
(as recommended on http://www.boost.org/users/download/#repository)
on my 2 year old notebook without solid state disk. (Just a simple 7200rpm
And I got a working copy with just a 29 MB .svn/wc.db
The working coy contains 37383 nodes
And 33537 pristine files.
An fully recursive svn update from the root of this working copy takes about
Probably with a hot filesystem cache, but stil...
My guess is that you accidentally checked out the root of the repository
The ‘only this item’ update performs a single operation with network
Bert
From: Elmar Teitge [mailto:elmar.teitge_at_ultra-it.de]
Hello,
I have a problem with partial checkout of the repository from the boost c++
First I guessed, that this is a problem with Tortoise SVN, because there
cache in the past. Switching off the caching mechanism showed, that this is
The total discussion with the TSVN developers is attached below.
Deleting the whole content of a folder from the working copy by doing an
“only this item” is running over 30 hours and there is absolutely no
Doing an clean-up process takes only about an hour.
Is this an known issue … can anyone help with this topic ???
Thanks.
Best regards,
Elmar
----------------
Hello Elmar,
What you mean by a bug? That database access when database is stored on a
In essence I would say that there are many small transactions and each
If you want to dig further
1) look for SQLite knowledge. There are some subtle ways how the database
2) look at the mailing lists at subversion.apache.org and their archives .
Performance of working copy operations is sometimes discussed there. Though
3) the database size of 500 Mb is bad. You have too many single files to
As I mentioned, svn cleanup would not shrink it. There exist some sqlite
Best regards,
Konstantin Kolinko
----------------
Hello Konstantin,
thanks for your response.
I have done a new trial for checking out the repository ...
Two folders were checked out, the branches and the sandbox folder ... I I
I had a look in the .svn folder and found out, that the SQLite database file
So I decided to do an experiment and deleted all pristine content and all
clean-up process like you described it ...
After the clean-up process, the database file is still 570 MB large ...
... and an update process with "only this item" is still in progress with no
result ...
I am sure, that my problem is caused by a bug.
But how to do a trace, that helps to find that bug ?
Best regards,
Elmar
-----Ursprüngliche Nachricht-----
Von: Konstantin Kolinko [mailto:knst.kolinko_at_gmail.com]
Gesendet: Sonntag, 25. März 2012 22:37
An: users_at_tortoisesvn.tigris.org
Betreff: Re: Partial Checkout Problem
2012/3/25 Elmar Teitge <elmar.teitge_at_ultra-it.de>:
> Hello Konstantin,
>
> thank you for your advice.
>
> To point 1, I have selected the folder that shall be cleared from
> subfolders, called "sandbox" and then selected "update to revision" in the
> context menu with selected option "only this item".
>
> To point 2, I have done a few cycles doing the update in point 1 and
> doing
> an clean-up command on the whole working copy ... but the SQLite
> database
> file did not shrink perceivable, nor the additional folders in the
pristine
> directory, that keep the original files ...
>
> Is it enough, to clean-up the svn status or are more options required
> in
the
> clean-up dialog, to get rid of the unused pristine files ?
>
- The first checkbox there is enough (that is what "svn cleanup"
command-line command does)
plus the last one (to apply cleanup to the nested WCs that belong to
externals).
The other checkboxes there are specific to TortoiseSVN.
- The unneeded files are deleted from "pristine" directory. Well, if
you have 5 identical branches then there will be the same 1 pristine
for 5 copies of a file in branches, so maybe that is why there were no
substantial changes.
- The db file does not shrink. It should not be of big size though.
(It is possible to shrink it with some "sqlite pragma" command -- I
have seen it once being mentioned on @subversion mailing lists).
> To point 3, there were no modifications on that sandbox folder.
>
Best regards,
Konstantin Kolinko
----------------
Hello Konstantin,
thank you for your advice.
To point 1, I have selected the folder that shall be cleared from
To point 2, I have done a few cycles doing the update in point 1 and doing
Is it enough, to clean-up the svn status or are more options required in the
To point 3, there were no modifications on that sandbox folder.
Best regards,
Elmar
----------------
Hello Elmar,
1. Maybe you selected wrong folder when invoking the update operation?
2. Note, that "svn update --set-depth" will remove the files and folders
You have to do "svn cleanup" to get rid of unused pristine copies. (This is
3. If there are modified files, ignored files, or files that it cannot
Use "Check for modifications" dialog to see what is the state of your
Best regards,
Konstantin Kolinko
----------------
Hello TSVN users,
I have tried to check out the boost c++ library repository as a working copy
on my local Solid-State-Disk. I experienced, that the boost repository is
too large for that check out I want to do. So I decided to make a partial
check out with dumping the sandbox items for my working copy.
About 60 % of the working copy were created on the disk and I tried to dump
the sandbox folder by doing an svn update command with the option "only for
this item" to delete all subfolders for that directory.
The TSVN update dialog was running over 30 hours and only one subfolder
was deleted from the sandbox directory.
I am using the current TSVN Version 1.7.6.
I am not sure if this is a conflict with the TSVNCache, or if this is a
problem with subversion itself.
Has anyone made experiences with that topic and is able to help me ?
Thanks.
Elmar
_____
I am using the Free version of SPAMfighter <http://www.spamfighter.com/len>
Do you have a slow PC? <http://www.spamfighter.com/SLOW-PCfighter?cid=sigen>
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.