bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-patch] Assert failure on svn diff output


From: Marcin Kościelnicki
Subject: [bug-patch] Assert failure on svn diff output
Date: Sun, 18 Oct 2009 20:20:28 +0000
User-agent: KMail/1.12.2 (Linux/2.6.31-rc9-27142-gd4ac6a0; KDE/4.3.2; x86_64; ; )

I got this message when trying to merge an svn repo to its git fork, using 
output from svn diff as input to patch:

missing header for unified diff at line 5 of patch
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.
Aborted

I isolated the relevant fragment in the attached file. Just run patch -Np1 < 
crash.diff , you don't need the patched file to actually exist.

Tested on patch 2.5.9 from current ubuntu and gentoo.

Marcin Kościelnicki

Attachment: crash.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]