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

Re: Unexplained "Corrupt representation" errors with 1.8.1

From: Ben Reser <ben_at_reser.org>
Date: Thu, 1 Aug 2013 00:33:32 -0700

On Wed, Jul 31, 2013 at 11:30 PM, Branko Čibej <brane_at_wandisco.com> wrote:
> People will also "svnadmin create" and then "cp -a" the results all over
> the place -- a case where using an inode is better than using a UUID.

At least with the cache system you can solve that by simply also
storing the path as part of your cache key.


If people move repos around with a running instance or even create and
then dup those repos the cache will still work properly. Though you
lose some efficiency if people move repos around without restarting
the server, but I think that's a small cost to pay since it's going to
be rare that people will be moving repos around without restarting the

You can also add some code to the server to whine if you have multiple
repositories that it's caching with the same instance id. To try to
discourage people from doing this. On top of documentation to explain
why this is important.
Received on 2013-08-01 09:34:09 CEST

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