Skip to content
Snippets Groups Projects

library: enable runpy invocation on mercurial package

Merged Jason R. Coombs requested to merge topic/default/runpy-invoke into branch/default
All threads resolved!

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • requested review from @mercurial.review

    • Author Developer
      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.

  • Jason R. Coombs
  • Jason R. Coombs
  • Jason R. Coombs marked this merge request as ready

    marked this merge request as ready

  • Jason R. Coombs added 1 commit

    added 1 commit

    • 3b8b24fd36ef - library: incorporate demandimport into runpy invocation

    Compare with previous version

  • Jason R. Coombs mentioned in merge request !551 (merged)

    mentioned in merge request !551 (merged)

  • Raphaël Gomès approved this merge request

    approved this merge request

  • Anton Shestakov approved this merge request

    approved this merge request

  • Raphaël Gomès marked this merge request as draft

    marked this merge request as draft

  • Jason R. Coombs marked this merge request as ready

    marked this merge request as ready

  • Jason R. Coombs added 111 commits

    added 111 commits

    Compare with previous version

  • Anton Shestakov resolved all threads

    resolved all threads

  • Jason R. Coombs added 109 commits

    added 109 commits

    Compare with previous version

  • Raphaël Gomès added 49 commits

    added 49 commits

    Compare with previous version

  • Raphaël Gomès enabled an automatic merge when the pipeline for e7ef11b75fdc succeeds

    enabled an automatic merge when the pipeline for e7ef11b75fdc succeeds

  • Please register or sign in to reply
    Loading