1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #1507 open

Stop button for pull that hangs

y g
created an issue

I know about this patch https://bitbucket.org/tortoisehg/thg/changeset/b8d1fbd7634a but I can't find the stop action button mentioned..

Comments (4)

  1. Steve Borho
    • changed status to open

    it's on the toolbar of the sync tool

    however, as often as not the stop button is unable to break the hung operation because Python itself gets stuck inside a system call.

  2. Yuya Nishihara

    cmdcore: add worker to run command in separate command-server process

    Currently it can run repository commands with no user interaction.

    Known issues:

    • ui.interactive is off for now (will be implemented soon)
    • progress won't be cleared on abort due to lack of final pos=None messages
    • command-server process isn't shut down cleanly when repository closed
    • command-server won't reload settings (need to restart on configChanged)
    • "hg clone" will fail if cwd has no repository
    • "ui.error" label isn't available
    • MQ status may corrupt if changed by another process because command-server does not invalidate repo.mq (fixed by hg e3d1df48fcc6)

    CmdThread will eventually be superseded by CmdServer:

    • TortoiseHg 3.0 will provide the experimental command-server client, which can be enabled by thg --config tortoisehg.cmdworker=server
    • 3.1 will use "server" by default
    • 3.2 will remove CmdThread completely

    refs #1507, #1661, #2071, #2614, #3343, #3370, #3637

    → <<cset d02cfaed8676>>

  3. Log in to comment