This repository was archived by the owner on Feb 3, 2018. It is now read-only.

Description
Noticed today that trying to bzr branch
with the bzr://
protocol ended up causing the child process to just...sit, generating no output.
We need some basic protection against this (there's no general solution, because halting problem). Sadly, we can't just use a simple timeout, as there are times when we absolutely expect these processes to take a while (e.g., cloning kubernetes). However, if we can watch stdout/stderr for output and update a timer every time we see activity, then we should be able to set an "inactivity" timeout, where we kill the command only if a certain window has elapsed since progress was reported. That'll work for most git, hg, and bzr operations at least, I think.