This is an archive of the discontinued Mercurial Phabricator instance.

sparse: add test showing `hg merge` is broken while using sparse extension
ClosedPublic

Authored by pulkit on Jul 27 2018, 8:38 AM.

Details

Summary

This patch adds a test to demonstrate that hg merge is broken in some cases
while using sparse extension.

The case is when you have a file which is:

  • modified between current wdir parent and merge base
  • deleted between merge base and merge destination
  • excluded from sparse checkout

Doing hg merge results in file not found error. Next patch will fix this.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Jul 27 2018, 8:38 AM

I feel like these two patches are appropriate for stable because this is a bugfix, so I propose them for stable.

This revision was automatically updated to reflect the committed changes.