This is an archive of the discontinued Mercurial Phabricator instance.

tests: mark tests that fail when using chg as #require no-chg
ClosedPublic

Authored by spectral on May 15 2018, 2:52 PM.

Details

Summary

As far as I can tell, most of these failures are due to using $HGPORT, which it
seems chg might be using itself? I don't know enough to debug these failures to
fix them properly.

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

spectral created this revision.May 15 2018, 2:52 PM
yuja added a subscriber: yuja.May 16 2018, 8:07 AM

Queued, thanks.

REVISION SUMMARY

As far as I can tell, most of these failures are due to using $HGPORT, which it
seems chg might be using itself? I don't know enough to debug these failures to
fix them properly.

Perhaps some "chg serve -d" calls would bypass the hack to execute
"hg serve -d" instead. Daemon processes can't be spawned from command server.

https://www.mercurial-scm.org/repo/hg/file/4.6/contrib/chg/chg.c#l363

This revision was automatically updated to reflect the committed changes.