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

Re: Show log - Item is not readable error

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Tue, 7 Oct 2008 01:05:39 +0400

Marky,

regarding this, and your other messages in this thread:

first, you certainly have to read the Svn Book,
http://svnbook.red-bean.com/index.en.html

It is pointless to explain here from scratch what is already written
in that good book.

If you searched, found, and but still do not understand
some wording, feel free to ask.

second, on original your question

The book mentions that
"The UUID is the repository's universal unique identifier. The Subversion
client uses this identifier to differentiate between one repository
and another."

The UUID is used to identify working copies that are retrieved from
the same repository, and to tell apart those that are from different
ones.

Certain commands are valid only if their source and destination are
from the same repository. Even if those working copies were created
by independent checkout operations, or whatever. As they are still
from the same repository, operations on them are valid.

URLs might change, or there might be several repositories on similar
URLs, but UUID remains the same.

The UUID is randomly (uniquely) generated when you create a
repository with "svnadmin create" command. You may change it in
svn 1.5 by using "svnadmin setuuid", and by loading a certain dump
file in previous versions.

Each working copy (each .svn/entries file in the working copy) remembers
the UUID of the repository where it was retrieved from.

Once you change UUID of the repository, all working copies must be
discarded by your users and re-retrieved anew.

Regarding TortoiseSVN and its Log view:

since version 1.5.0 Tortoise does have a cache for certain information
retrieved from the repository - the cache of log messages. That cache
is keyed by repository uuid.

Once you change the id, you must flush the cache, that can be done
from certain page of the Settings dialog.
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-logcache

Best regards,
Konstantin Kolinko

2008/10/6 Anto Marky <markysvn_at_gmail.com>:
>
> To be frank, I don't know anything about svn UID, I thought that it was a
> confusion for svn to distinguishing between the uid's of the two
> repositories.So I deleted the test repository for the svn to read the uid of
> the single repository I have and give out the required log...but still I
> have the same problem....If i generate a brand new UID will it effect my
> revision's as my users have started working on the repository?
>
> Kindly help me out from this.
>
>
> Thanks and regards
>
> Marky
>
> On Mon, Oct 6, 2008 at 6:18 PM, Konstantin Kolinko <knst.kolinko_at_gmail.com>
> wrote:
>>
>> 2008/10/6 Anto Marky <markysvn_at_gmail.com>:
>> >
>> > I have installed svn on 1.5.1 (...)
>> >
>> > I had two repositories earlier one production and one testing, some
>> > sites
>> > gave a solution that the uid of the repositories must be different, as I
>> > don't know how to change the UID of the repository I deleted the test
>> > repository and reloaded SVN, Still I get the same error when I give show
>> > Log.
>> >
>>
>> svnadmin setuuid REPOS_PATH [NEW_UUID]
>>
>> "Reset the repository UUID for the repository located at REPOS_PATH. If
>> NEW_UUID is provided, use that as the new repository UUID; otherwise,
>> generate a brand new UUID for the repository."
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-06 23:06:03 CEST

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.