Thank you for replying.

Yeah, when I used svnadmin load I got an error about  “* dump version” so I 
used grep -v.  As you have said. I will try it again. But due to the project 
“UEProject” used 900G hard disk space, so maybe it is hard to compare two files 
different.

Best regards
Lee

发自我的iPhone

> 在 2022年9月9日,18:58,Daniel Sahlberg <daniel.l.sahlb...@gmail.com> 写道:
> 
> Den fre 9 sep. 2022 kl 12:14 skrev 李斌 <li...@s-game.com.cn>:
>> Hi
>> 
>> There is a problem when load file via 'svnadmin load'.
>> 
>> Command: 'nohup svnadmin load /data/UEProject < /data/UEProject-clear.svn > 
>> ./nohup.log 2>&1 &'.
>> 
>> UEProject-clear.svn is a dump file generated by 'nohup svnadmin dump 
>> /root/SVN/UEProject > /data/UEProject.svn &' &&  'nohup grep 
>> --binary-files=text -v '^* Dumped revision' ./UEProject.svn > 
>> ./UEProject-clear.svn &'.
>> 
> Why grep -v?
>  
>> But when the file be loaded, I get the following error log from nohup.log.
>> 
>>      * adding path : 
>> UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/FeaturePack/manifest.json
>>  ... done.
>> 
>>      * adding path : 
>> UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/Media 
>> ... done.
>> 
>>      * adding path : 
>> UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/Media/VehicleAdv.png
>>  ... done.
>> 
>>      * adding path : 
>> UnrealEngine/4.26.2/Templates/TemplateResources/Standard/VehicleAdv/Media/VehicleAdv_Preview.png
>>  ... done.
>> 
>>      * adding path : UnrealEngine/4.26.2/UE4.sln ... done.
>> 
>>      * adding path : UnrealEngine/4.26.2/UE4Games.uprojectdirs ... done.
>> 
>>      * adding path : UnrealEngine/4.26.2/cpp.hint ... done.
>> 
>> svnadmin: E140001: Unrecognized record type in stream
>> 
>> svn, version 1.8.10 (r1615264)
>> 
>> can you tell me how to resolve it?
>> 
> 
> Wild guess: You had the string "* Dumped revision" somewhere in the contents 
> or properties and your grep filtered this out of the file so the file doesn't 
> match the expected dump file format. If you compare the UEProject.svn and 
> UEProject-clear.svn files you will probably find some missing data.
> 
> Kind regards,
> Daniel

Reply via email to