This is an archive of the discontinued Mercurial Phabricator instance.

test-merge-subrepos: make test compatible with chg
ClosedPublic

Authored by singhsrb on Oct 3 2017, 4:07 PM.

Details

Summary

The test checks the output of '.hg/blackbox.log' which will contain
logs corresponding to chg in case chg is running. Therefore, this commit
modifies the test to take chg into consideration while checking the
blackbox.log contents.

Test Plan

Ran the test 'test-merge-subrepos.t' with and without the '--chg'
option.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

singhsrb created this revision.Oct 3 2017, 4:07 PM
quark updated this revision to Diff 2394.Oct 3 2017, 8:08 PM
quark accepted this revision.Oct 3 2017, 8:08 PM
quark added a subscriber: quark.

I have simplified the fix.

This is like blackmagic but still very neat :). I will keep this in mind!

This revision was automatically updated to reflect the committed changes.