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

difference between 1.8.1x and 1.9.9 in UUID creation/handling

From: olli hauer <ohauer_at_gmx.de>
Date: Wed, 15 Feb 2017 22:32:01 +0100

Hi,

I just noticed a UUID difference between svnadmin 1.8.15 and 1.9.5, but haven't found the documentation for this behavior
Is it normal to have two UUID's per default if the repo is created with svnadmin 1.9.x?

Test with svn 1.8
$ svnadmin create new_repo
$ svnadmin dump old_repo/ | svnadmin dump new_repo/
$ cmd old_repo/db/uuid new_repo/db/uuid ; echo $?
0

Test with svn 1.9.4/1.9.5
$ svn info file:///path/to/old_repo | grep UUID
Repository UUID: 228ca703-1480-e111-95e2-001999006c86

$ cat old_repo/db/uuid
228ca703-1480-e111-95e2-001999006c86

$ svnadmin create new_repo
$ cat new_repo/db/uuid
ee6bf0e3-c2f3-e611-bd38-000c2934dcba
936cf0e3-c2f3-e611-bd38-000c2934dcba <-- there is a second UUID

$ svn info file:///path/to/new_repo | grep UUID
Repository UUID: ee6bf0e3-c2f3-e611-bd38-000c2934dcba

Dump / Load into new_repo
$ svnadmin dump old_repo/ | svnadmin dump new_repo/

$ cat new_repo/db/uuid
228ca703-1480-e111-95e2-001999006c86 <-- the old repo UUID
e2e3759b-c3f3-e611-bd38-000c2934dcba <-- the old (first) UUID before the load cycle

$ svn info file:///path/to/new_repo | grep UUID
Repository UUID: 228ca703-1480-e111-95e2-001999006c86

-- 
Regards,
olli
Received on 2017-02-15 22:32:19 CET

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.