olli hauer
2017-02-15 21:32:01 UTC
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
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
Regards,
olli