library: enable runpy invocation on mercurial package
All threads resolved!
All threads resolved!
Merge request reports
Activity
requested review from @mercurial.review
- Resolved by Jason R. Coombs
With pip-run installed, one can see the effect of this change:
~ $ pip-run hg+https://foss.heptapod.net/mercurial/mercurial-devel@runpy-invoke -- -m mercurial --help *** failed to import extension "evolve": No module named 'evolve' *** failed to import extension "topic": No module named 'topic' Mercurial Distributed SCM list of commands: Repository creation: clone make a copy of an existing repository init create a new repository in the given directory share create a new shared repository ...
It takes a long time to run while it clones all of Mercurial, but it's able to clone Mercurial, update to a branch, install from that checkout, and then invoke Mercurial from that install, all in one command, and leaving no trace after invocation.
- Resolved by Jason R. Coombs
- Resolved by Jason R. Coombs
added 1 commit
- 3b8b24fd36ef - library: incorporate demandimport into runpy invocation
mentioned in merge request !551 (merged)
- Resolved by Anton Shestakov
I think this is fine, but looking at the discussion in !551 (merged) maybe this code should also use try-except for importing? Not sure.
added 111 commits
-
3b8b24fd...f4a540c2 - 109 commits from branch
branch/default
- 43756eadfe86 - library: enable runpy invocation on mercurial package
- efaed788ea71 - library: incorporate demandimport into runpy invocation
-
3b8b24fd...f4a540c2 - 109 commits from branch
added 109 commits
-
efaed788...c8141015 - 107 commits from branch
branch/default
- 3f29408d9023 - library: enable runpy invocation on mercurial package
- f0e5cbab0e0d - library: incorporate demandimport into runpy invocation
-
efaed788...c8141015 - 107 commits from branch
added 49 commits
-
f0e5cbab...1c31b343 - 47 commits from branch
branch/default
- eb01d3a65ad8 - library: enable runpy invocation on mercurial package
- e7ef11b75fdc - library: incorporate demandimport into runpy invocation
-
f0e5cbab...1c31b343 - 47 commits from branch
enabled an automatic merge when the pipeline for e7ef11b75fdc succeeds
Please register or sign in to reply