[Python-apps-team] Bug#756018: mercurial: "hg clone" hangs after "adding changesets"

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Aug 14 17:11:18 UTC 2014



On 08/14/2014 02:51 AM, Vincent Lefevre wrote:
> On 2014-08-14 09:38:05 +0200, Pierre-Yves David wrote:
>> O Fri, Jul 25, 2014 at 03:22:05PM +0200, Vincent Lefevre wrote:
>>> $ hg clone http://dev.mutt.org/hg/mutt
>>> destination directory: mutt
>>> requesting all changes
>>> adding changesets
>>>
>>> Then hg is hanging. The CPU, disk and network activity is very low.
>>
>> Looks like the network died.
>
> Perhaps, but in this case, there should be a timeout and an error
> message.

The network must have been still working but very slowly. preventing the 
process to actually abort.

>
> In case the network didn't completely die, hg could also give progress
> information (see what curl and apt-get do, for instance) and tell how
> many seconds (when this is large enough) since it last received data
> (a bit like mosh).

You can enable a progress bar (hg help progress for details) that would 
do exactly that.


-- 
Pierre-Yves David



More information about the Python-apps-team mailing list