Where is the cache data of TortoiseSVN stored?

1,614 views
Skip to first unread message

Max Mustermann

unread,
Mar 5, 2014, 5:42:01 PM3/5/14
to us...@tortoisesvn.tigris.org
Hi@all,

some days ago I had a nasty and time consuming experience with TortoiseSVN. I created a branch in my repository and switched my working copy folder to it. Later on I deleted the branch. To get rid of it and the revision where the branch forked I did a

svnadmin dump <original repository> | svnadmin load <temp repository>

from revison 1 to the revision before the fork. After a checkout of the temp repository to another working copy folder TortoiseSVN showed me the same revision history like before. And I turned crazy! How can I see things which are gone?

After some digging in the SVN manual I found the information that repositories have UUIDs and a dump-load cycle replicates the UUID from the source repository to the destination repository. Therefor TortoiseSVN considered the both working copy folders and their repositories to be the same. After changing the UUID of the temp repository the revision history was shown like expected.

I guess there is some caching feature built into TortoiseSVN that prevents it to load the latest informations neccessary to build the revision log and the revision graph from the SVN server as long as the UUID of the repository is already known and no commit is done.

Does somebody know where this cached data is stored locally? In the future it could become difficult to get access to the machine where our SVN server runs on to change the UUID of a repository. So it would be a better approach to delete the local cache data.

Greetings from Germany
Max

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3074075

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Gavin Lambert

unread,
Mar 6, 2014, 1:15:42 AM3/6/14
to us...@tortoisesvn.tigris.org
On 6/03/2014 11:42, Quoth Max Mustermann:
> I guess there is some caching feature built into TortoiseSVN that
> prevents it to load the latest informations neccessary to build the
> revision log and the revision graph from the SVN server as long as
> the UUID of the repository is already known and no commit is done.
>
> Does somebody know where this cached data is stored locally? In the
> future it could become difficult to get access to the machine where
> our SVN server runs on to change the UUID of a repository. So it
> would be a better approach to delete the local cache data.

Have a look at TortoiseSVN -> Settings -> Log Caching. You could
disable it there if you want, or go to Cached Repositories and remove it
from there.

(I don't actually have any cached repositories listed in mine; it might
be because I use an svn:// intranet server though, so it doesn't think
it needs caching.)

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3074081

Max Mustermann

unread,
Mar 6, 2014, 3:35:09 AM3/6/14
to us...@tortoisesvn.tigris.org
> On 2014-03-05 22:15:58 PST, Quote Gavin Lambert:
> Have a look at TortoiseSVN -> Settings -> Log Caching. You could
> disable it there if you want, or go to Cached Repositories and remove it
> from there.

The simplest things do not even come to mind. :(

Thank you for this straightforward solution.

Best regards
Max

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3074086
Reply all
Reply to author
Forward
0 new messages