Rejected patch hunk resolving
From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Mon, 24 Oct 2011 09:41:04 +0000
Hi!
This is sort of a long shot, but I thought I'd drop a post on the list anyway.
I have been doing some patch applying as of late, and some of them on modified working copies. This invariably leads to that some patches generates rejected patch hunks. This is expected since some of the modifications in the working copy conflicts with the data provided in the patchfile.
The question is: Would it make sense to let TortoiseMerge give a little bit more help when it comes to resolving conflicts in patchfiles? Right now the rejected hunks are shown in a new window. Would it be possible to use the three way "conflict" view instead? That is; showing the rejected hunks inline with the rest of the source as conflicted rows and letting the user select what lines that should end up in the "patched" file.
The three files would then be:
The lines that differ between "Patched" and "Conflicts" would then be used to denote which lines that are conflicted.
*Forcefully here means doing a best guess of where the hunk should be applied. If no part of the hunk matches, I guess that line numbers would be a best guess of where to put it.
I'm not sure if this would be feasible to do in TortoiseMerge today, but it sure would come in handy when applying large patch files on "dirty" working copies.
Hans-Emil
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.