This is an archive of the discontinued Mercurial Phabricator instance.

tests: slightly modify a linkrev test to prepare for expanding it
ClosedPublic

Authored by martinvonz on Apr 28 2019, 3:00 AM.

Details

Summary

The test case checks that the copy tracing code doesn't get confused
by linkrevs when walking a file's ancestors. This patch chnages the
test slightly so a second commit is grafted, thus producing a second
"bad" linkrev. I'll use this in the next patch to demonstrate a bug.

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.