This is an archive of the discontinued Mercurial Phabricator instance.

rank: add minimal test
ClosedPublic

Authored by pacien on Feb 7 2022, 12:25 PM.

Details

Summary

This adds a small test checking the rank computation in the case of a merge.

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

pacien created this revision.Feb 7 2022, 12:25 PM
Alphare accepted this revision.Feb 8 2022, 10:16 AM
This revision is now accepted and ready to land.Feb 8 2022, 10:16 AM
Alphare requested changes to this revision.Feb 8 2022, 10:18 AM
Alphare added inline comments.
tests/test-rank.t
17

You can forgo the hg add lines with hg commit -A

22

Use -q instead in all commands to repress the output

This revision now requires changes to proceed.Feb 8 2022, 10:18 AM
pacien updated this revision to Diff 32169.Feb 14 2022, 12:06 PM
pacien marked 2 inline comments as done.Feb 14 2022, 12:10 PM

Commands simplified as suggested.

Alphare accepted this revision.Feb 15 2022, 7:59 AM
This revision is now accepted and ready to land.Feb 15 2022, 7:59 AM
This revision was automatically updated to reflect the committed changes.