Summary: | Bugzilla produces invalid patch files out of certain attached bzr bundles | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Serkan Kaba (RETIRED) <serkan> |
Component: | Bugzilla | Assignee: | Bugzilla Admins <bugzilla> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | esigra, haubi, mgorny, pva |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.gentoo.org/show_bug.cgi?id=248537 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Serkan Kaba (RETIRED)
![]() What's invalid with it? Viewing the attachment shows it to be identical to the tree link The last addition line is extra produced. (See raw comment) Serkan, I've downloaded both: http://tinyurl.com/5qmxhp and http://bugs.gentoo.org/attachment.cgi?id=173533&action=view and they are identical. Also they are identical with patch commited in the tree. Could you provide step by step instruction about how to reproduce this problem? A somewhat-similar-sounding problem showing attachment#182889 [details, diff], which is an unidiff against an unidiff patchfile. It starts with the right side of "Diff" missing the "+" lines: http://bugs.gentoo.org/attachment.cgi?id=182889&action=diff Expected is to get the same content when doing either "View" or "Raw Unified": http://bugs.gentoo.org/attachment.cgi?id=182889 http://bugs.gentoo.org/attachment.cgi?id=182889&action=diff&context=patch&collapsed=&headers=1&format=raw Should I create a separate bug for this? *** Bug 388017 has been marked as a duplicate of this bug. *** As for mishandling of bzr patches, I think this is something to be handled upstream. The 'diff' feature is not really crucial to our use of Bugzilla, and it exhibiting weird behavior with non-standard patch formats is not something we should concern ourselves with. As for the other issue reported, I can't really reproduce. The linked 'diff' seems to be correct. |