| Summary: | cannot apply a patch created by Orion, shows HunkHeader error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Grant Gayed <grant_gayed> | ||||
| Component: | Git | Assignee: | Project Inbox <orion.git-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | simon_kaegi | ||||
| Version: | 4.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Grant Gayed
I20131016-1157 - check out branch origin/bug419611 of org.eclipse.orion.client from the main repo - attempt to apply the attached patch, which should apply cleanly because it is based on this branch's exact content + changes to one file (shellPage.js) that are reverted in the branch -> the attempt fails with error message: "Apply patch failed. Cannot apply: HunkHeader[26,7->26,6]" Created attachment 236560 [details]
test patch file
The patch content was created on Orion's Git Status page by selecting the modified unstaged file and clicking the Show Patch link. The content was then copied and pasted into Notepad and saved to the .txt file.
was this at all related to the history re-writing that happened the day this bug was logged? (In reply to Simon Kaegi from comment #3) I don't think so, I initially saw this late last week, but didn't put a case together until this report. Don't have a reproducible case of this anymore, so closing report. |