comparison hgext/factotum.py @ 40203:f80f7a67e176

tests: fix style issue of importing hgweb in embedded code fragments Some test scripts are excluded in test-check-module-imports.t, because import-checker.py reports that hgweb and/or hgwebdir of mercurial.hgweb are not imported in recommended style. To fix this issues, this patch make python code fragments embedded in these files import hgweb from mercurial package at first, and refer hgweb and hgwebdir via imported hgweb.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 08 Oct 2018 10:10:06 +0900
parents c31ce080eb75
children 2372284d9457
comparison
equal deleted inserted replaced
40202:56ea22fa55f0 40203:f80f7a67e176