[Bug 257558] New: compare two directories -> error dialog "malformed diff", also with patch from bug 249976

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 257558] New: compare two directories -> error dialog "malformed diff", also with patch from bug 249976

Andreas K. Huettel
https://bugs.kde.org/show_bug.cgi?id=257558

           Summary: compare two directories -> error dialog "malformed
                    diff", also with patch from bug 249976
           Product: kompare
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: parser
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Using kde-4.5.3 gentoo packages with the patch from bug 249976 added.

I run

kompare dir1 dir2

and often get a dialog about a malformed patch :(. Afterwards things seem to
work ok, the differences are displayed properly afaik. It seems like some
corner cases are still missing.

To reproduce the exact conditions, for example: * download
http://distfiles.gentoo.org/distfiles/krecipes-2.0-beta1.tar.gz
http://distfiles.gentoo.org/distfiles/krecipes-2.0-beta2.tar.gz
* unpack both
* compare the resulting dirs:
kompare krecipes-2.0-beta1 krecipes-2.0-beta2

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 257558] compare two directories -> error dialog "malformed diff", also with patch from bug 249976

James Baxter
https://bugs.kde.org/show_bug.cgi?id=257558

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
What can I do to help confirm this?

If I do a diff by hand AND strip out any lines that begin with "Binary files"
or "Only in", and then pass the diff through to kompare, the error message goes
away.

The other positive side-effect of stripping out those two diff messages is that
Bug 347760 (which reappears whenever this message also appears) goes away, and
you can actually apply the diff to the destination.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 257558] compare two directories -> error dialog "malformed diff", also with patch from bug 249976

James Baxter
In reply to this post by Andreas K. Huettel
https://bugs.kde.org/show_bug.cgi?id=257558

--- Comment #2 from [hidden email] ---
Oops. I should also give versions. I'm using up-to-date FC23, which gives:

kompare: 15.08.1,
kde-runtime-libs: 15.12.1

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel