jj resolve
should handle rename+edit conflicts nicely
#1112
Labels
enhancement
New feature or request
jj resolve
should handle rename+edit conflicts nicely
#1112
Description
When merging one revision that moves (or copies) a file and another that makes changes in the original file, the
jj resolve
command should offer more help in diffing the right files and getting all the changes integrated where they belong.This also entails jj tracking some notion of tracking file move/copies (#47). Although the git backend might have some rename detection of its own?
Expected Behavior
Trivial scenario
Rename-edit + edit scenario
Copy-edit + edit scenario
In some cases it might already be unambiguous whether rev 2's edits belong in a.txt or b.txt and not need to resolve against both. For instance, if rev 1 had forked the contents of a.txt into 2 files, keeping lines 1-50 in a.txt and moving lines 51-100 into b.txt, then it might be self-evident how to properly incorporate other edits into one destination file or the other.
The text was updated successfully, but these errors were encountered: