On Thu, Oct 1, 2009 at 11:23 AM, David Leimbach <leimy2k@gmail.com> wrote:


On Thu, Oct 1, 2009 at 11:19 AM, ron minnich <rminnich@gmail.com> wrote:
On Thu, Oct 1, 2009 at 6:23 AM, Sam Watkins <sam@nipl.net> wrote:

> I tried to check out v9fs, but the compressed git repo without checkout is over
> 300Mb.

That's git for you. When you go to git it, you git ALL of it. Kind of
like deciding to download sources and getting the entire venti arena.

ron

Wouldn't Mercurial do the same?  Darcs (a haskell source control system) let's you get a subset of all the history, and if a patch refers to a really old revision you don't have, will go get that and its dependencies.  It's like a lazy-repository.  At least I think that's how it works, or that's how it's been explained to me.

Is there a way to git a partial repository or hg a partial repository?

Dave


"Darcs 2 replaces the concept of "partial" repositories with "lazy" ones. There has always been a desire to allow "lightweight" checkouts that don't include the complete repo history. The darcs 1 solution to this was "partial" repositories that only checked out history up to a point. This approach worked to some extent, but didn't play with well with darcs commands that expected the whole history to be present. The new "lazy" concept offers similar benefits, and will pull down older remote patches on demand if some command needs them. Lazy repositories are a great comprise between features and performance."

There we go.  So I guess you just need Darcs2.

Dave