https://bz.mercurial-scm.org/show_bug.cgi?id=6855

            Bug ID: 6855
           Summary: Copy information is lost on fold
           Product: Mercurial
           Version: 6.5.2
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: jar...@jaraco.com
                CC: mercurial-de...@mercurial-scm.org
    Python Version: ---

When using fold, the copy information is lost:

```
 draft @ hg init changeset-copies; cd changeset-copies
 changeset-copies default @ touch foo
 changeset-copies default @ hg commit -A -m "Adding foo"
adding foo
 changeset-copies default @ hg mv foo bar
 changeset-copies default @ hg commit -m "Renaming foo to bar"
 changeset-copies default @ hg status --change .
A bar
  foo
R foo
 changeset-copies default @ touch baz
 changeset-copies default @ hg commit -A -m "Adding baz"
adding baz
 changeset-copies default @ hg fold --from .^1 -m "folded"
2 changesets folded
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 changeset-copies default @ hg status --change .
A bar
A baz
R foo
```

Instead users expect the copy information to be retained:

```
A bar
  foo
A baz
R foo
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to