Cloning a big mercurial project
Brodie Rao
dackze at gmail.com
Mon Nov 16 21:58:58 CST 2009
On Nov 16, 2009, at 9:43 PM, Steve Borho wrote:
> On Mon, Nov 16, 2009 at 8:33 PM, Remy HUBSCHER <hubscher.remy at gmail.com> wrote:
>> Hello,
>>
>> I am now using mercurial for the best and also because it is in Python.
>>
>> One of the thing, I am wishing for a while, is a loading bar for the `hg
>> clone` option.
>>
>> I am stuck for 2 hours on this message :
>>
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>>
>> And I don't even know how long I should still wait or why I am waiting.
>>
>> My wish is to have a statuts (Something like git could do it)
>>
>> requesting all changes
>> adding changesets [256/256]
>> adding manifests [502/502]
>> adding file changes [256/1024]
>>
>> So I can see that something is happening.
>> This is the minimum but something like this could be even better.
>>
>> adding file changes [256/1024] www/foo/bar.py 2,36Ko/s eta: 56 mn
>
> The "plumbing" for a feature like this has been present since hg 1.3,
> but actually hooking it up has not made it to the top of any
> developer's TODO list.
You might be able to report the transfer speed with ui.progress(), but because changeset discovery is done as the pull progresses, I don't think there's any simple way to tell how far along a pull/clone you are as you download.
More information about the Mercurial-devel
mailing list