We explicitly add a test checking for copies of connected revision but involving
a different roots. This make sure the copies coming purely from the new roots
does not interfere with the merge.
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGdda9482f60d2: copies: add an explicit test using multiple roots
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
tests/test-copies-unrelated.t | ||
---|---|---|
398 | nit: maybe "involving *merge* of multiple roots" to clarify how it's different from the case above | |
403–406 | nit: These seem unlikely to have any effect on the result. remove them? Or at least one of them? OTOH, you seem to have deliberately made the contents match in revision 2 and revision 7. What's the reason for that? Did that trigger a bug in an earlier version of this series? |
tests/test-copies-unrelated.t | ||
---|---|---|
403–406 | I don't want to write too simple test. There are various optimisation to have around revision without copy informations. So I am adding them in various situation to cache potential error if we introduce such optimisation. The content match is just here so that `hg merge does not complains about a content conflicT) |
nit: maybe "involving *merge* of multiple roots" to clarify how it's different from the case above