Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2006-03-30 21:09:47
Size: 812
Editor: mpm
Comment:
Revision 4 as of 2006-09-18 07:50:49
Size: 839
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 * put all "new" files in a "post" list.
 * go through each remaining file, attempt a merge.
 * if, while merging, we
  
discover no common ancestor, we've hit a rename. Add the file to
      
the post list.
 * put all "new" files in a "post" list
 * go through each remaining file, attempt a merge
 * if, while merging, we discover no common ancestor, we've hit a rename. Add the file to the post list
Line 14: Line 12:
 * the big open question is do we always want to merge-across-copy or
            
do we want to prompt? (my suspicion is always.)
 * there's a directory rename detection heuristic that's needed here as well and can be done during the         overlap detection
 * the big open question is do we always want to merge-across-copy or do we want to prompt? (my suspicion is always.)
 * there's a directory rename detection heuristic that's needed here as well and can be done during the overlap detection

See CopyMergeCases for use cases

----
CategoryNewFeatures

So there are probably a couple steps:

  • get manifests
  • eliminate unchanged files
  • detect non-overlapped files (files not in both manifests)
  • put all "new" files in a "post" list
  • go through each remaining file, attempt a merge
  • if, while merging, we discover no common ancestor, we've hit a rename. Add the file to the post list
  • once we have the post list (and have merged all non-renamed/copied files) we can find all the rename links
  • find ancestors across renames
  • do a second pass of 3-way merging
  • the big open question is do we always want to merge-across-copy or do we want to prompt? (my suspicion is always.)
  • there's a directory rename detection heuristic that's needed here as well and can be done during the overlap detection

See CopyMergeCases for use cases


CategoryNewFeatures

RenamePlan (last edited 2012-10-25 21:19:32 by mpm)