Chunks?
Steve Dyer
Steve.Dyer at homeserve.com
Tue Dec 6 10:02:07 UTC 2011
Oh ok thanks. The problem I'm having at the moment is that cloning a
repository is taking a while, like about 10 minutes, and this is on a
repository where I haven't actually done any work yet, just the initial
load of our code into it. The code base itself is about 400Mb with
about 11,000 files. Is this normal? This the process I followed to
load, so I am not sure if there is a better way to do the initial load
of a repo.
1. Create new repository
2. Copy in my current source code base in to that directory
3. Commit
The next steps were to clone this 5 times. The reason is that currently
we have a single "core" codebase, and this then feeds into 5 sub code
bases. The idea is that all of these 5, whilst different variations,
need to share a common area so that we can pump new features etc back up
to the core, and then down to the other variations from time to time.
Our current code environment matches this layout, and each of these 5
sub repos has variations to the core. So the next steps were:
4. Clone repository
5. Overlay existing code into new repository
6. Commit
And these steps were done 5 times to create my 5 clones.
So, with all that in mind, have I needlessly bloated my repositories
now? I know that a clone will share the full history, so is it because
of this that my new clones now take so long to "download"?
Thanks
Steve
-----Original Message-----
From: Augie Fackler [mailto:durin42 at gmail.com]
Sent: 06 December 2011 02:03
To: Steve Dyer
Cc: Mercurial at selenic.com
Subject: Re: Chunks?
On Dec 5, 2011, at 1:03 PM, Steve Dyer wrote:
>
> I have a brand new repo, within which I have loaded our codebase.
When
> I perform a clone now (using TortoiseHG), I notice that I get a
message
> along the lines of "Running...files 10876 / 11959 chunks". What are
> these "chunks"? The first time I did it I thought it was files and
gave
> it no thought, but then once the first "phase" is done, I get a second
> message which says "updating 1679 / 2063 files"...
Files come down from the server in chunks, so the progress unit is
chunks. Perhaps it's unfortunate that it leaks through to the user, but
I haven't heard any suggestions that are an improvement.
>
>
>
> Thanks
>
>
>
> Steve
>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
More information about the Mercurial
mailing list