On Sat, 28 Dec 2024 18:07:06 +0100, Bo Berglund <bo.bergl...@gmail.com> wrote:
>>> In that case what would be the best approach to copy the repository? >> >> A repository is just a directory of files on disk. Since nothing should be >> accessing the July backup since you've disabled the server processes, a >> simple >> filesystem copy using Windows Explorer or the command line or any other >> way that you usually copy directories is fine. > >OK, that is what I did and then tested loading the dump file, whereupon I got >the error message about a hook missing. It is also missing in the original repo >so I guess it is not used except during a dumpfile load... I am still getting *closer* to the finish line.... Now I am operating on the repo copy I made in order to run some test loads and not corrupting the actual repository. So I have copied the repo cmp to cmpcpy using Windows xcopy on an admin prompt. After the copy I have 2 exactly the same repos with the same content. When I tried the load command I got this: svnrdump load https://agiengineering/svn/cmpcpy < dump_cmp svnrdump: E175008: While handling the 'svn:rdump-lock' property on '/svn/cmpcpy/!svn/bln/0': svnrdump: E175008: Repository has not been enabled to accept revision propchanges; ask the administrator to create a pre-revprop-change hook I have looked at the repositories in the VisualSVN Manager console and found where the hooks are edited and there is no repository that has a hook like this set.... Since I did not succeed in getting this to work with svnrload and a StackOverflow search suggested I should use svnadmin instead: I reverted to svnadmin and look what happened: svnadmin load E:\SVNREPOS\cmpcpy < dump_cmp <<< Started new transaction, based on original revision 1312 * editing path : CmpLaz/trunk/PasLibVlc/source/PasLibVlcClassUnit.pas ... done. * editing path : CmpLaz/trunk/PasLibVlc/source/PasLibVlcUnit.pas ... done. * editing path : CmpLaz/trunk/PasLibVlc/source/PasLibVlcUnit.txt ... done. * editing path : CmpLaz/trunk/PasLibVlc/source/compiler.inc ... done. * editing path : CmpLaz/trunk/PasLibVlc/source.vcl/PasLibVlcPlayerUnit.pas ... done. * editing path : CmpLaz/trunk/PasLibVlc/source.vcl/PasLibVlcPlayerUnit.txt ... done. ------- Committed revision 1312 >>> So now the test repo *contains* the new revision (there was only one committed in October in the dump file)! So tomorrow I will process the actual 8 much bigger repos with tons of missing revisions. Thanks for bearing with me! -- Bo Berglund Developer in Sweden