[Bug 3649] New: support splitting files and copying subsets of files

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Thu Oct 4 18:51:29 CDT 2012


          Priority: normal
            Bug ID: 3649
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: support splitting files and copying subsets of files
          Severity: feature
    Classification: Unclassified
                OS: All
          Reporter: chris.jerdonek at gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: Mercurial
           Product: Mercurial

This issue is to add support for splitting a file into multiple files and for
copying a subset of a file to another file.  The latter would give the former.

As a software project evolves, it is common to want to split files into
multiple files.  Currently, I believe the only way to accomplish this in
Mercurial and have history persist is to copy the file multiple times and
delete the unwanted lines from each.  A problem with this approach is that
merging changes from the original file into the multiply-copied files creates
spurious merge conflicts in the deleted portions.  Allowing one to link a
copied file back to a subset of the original file would solve this issue.

Maybe there is already a way to achieve this that I don't know about.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list