This is an archive of the discontinued Mercurial Phabricator instance.

rebase: add tests showing patch conflict detection needs to be smarter in IMM
ClosedPublic

Authored by pulkit on Sep 12 2018, 10:55 AM.

Details

Summary

This patch adds test which shows that you can't rebase a cset which removes a
dir and adds a file of the same as that of dir as there are False positives
path conflicts reported.

I fixed the case when there is a file and we adds a dir of same name while
removing the file, but missed testing the current case. 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.