Native Mercurial: splitting in full and hgitaly1 mode
With the full native mode being controlled by feature flags, it makes sense to provide facilities in these functional tests to use either the HGitaly1 or the fully native mode.
This is done by changing the --heptapod-hg-native
command-line
argument from an activation flag to an option with two values:
hgitaly1
and full
.
We avoid false positives and negatives by checking explicitely the level of nativity of the created projects, thanks to the exposition that was made of that on the Rails side.
The CI will now run 9 Docker jobs with hg-git based, native(hgitaly1) and fully native modes. Of course, for a first installment the three new jobs for the fully native mode are allowed to fail.