Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to parse diff revision header 'non existent' in tortoise svn?

Created a svn patch with the folder and then applied the base directory and the path file in the review board. It shows that it is unable to parse diff revision header 'non existent' in review board.

like image 924
Deepak M Avatar asked Sep 07 '15 08:09

Deepak M


1 Answers

I believe this is a change in tortoise SVN 1.9.x path output used to use (revision 0) to indicate files that didn't exist. 1.9.1+ now uses (nonexistent)

1.9.1+ (maybe earlier, only checked 1.9.1 and 1.9.2)

--- BuildIni/Delphi-2007_2600_S3LogUploader.ini (nonexistent) +++ BuildIni/Delphi-2007_2600_S3LogUploader.ini (working copy)

1.8.9

--- BuildIni/Delphi-2007_2600_S3LogUploader.ini (revision 0) +++ BuildIni/Delphi-2007_2600_S3LogUploader.ini (working copy)

This breaks import of patch files into Review Board (2.0.6 at least) and probably other tools.

It's easy to work around, simply search for nonexistent and replace with revision 0, at least that worked for me.

like image 52
user5556513 Avatar answered Nov 04 '22 21:11

user5556513