From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <3e1162e60910011123vb8afcealf951feb5cb9ddccf@mail.gmail.com> References: <4c83c9076f3de55d5a49deff52f0f37c@proxima.alt.za> <140e7ec30910010322j13a193b4j7b0bb9704cbb4604@mail.gmail.com> <20091001132324.GA8508@nipl.net> <13426df10910011119h18aff08fha0ad3bc665071c42@mail.gmail.com> <3e1162e60910011123vb8afcealf951feb5cb9ddccf@mail.gmail.com> Date: Thu, 1 Oct 2009 11:25:04 -0700 Message-ID: <3e1162e60910011125l38553459kb4337c35d5dfa0c2@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd2a05e2721700474e3c4fa Subject: Re: [9fans] kencc, inferno hg, v9fs is big?, porting Topicbox-Message-UUID: 7b6b0194-ead5-11e9-9d60-3106f5b1d025 --000e0cd2a05e2721700474e3c4fa Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 1, 2009 at 11:23 AM, David Leimbach wrote: > > > On Thu, Oct 1, 2009 at 11:19 AM, ron minnich wrote: > >> On Thu, Oct 1, 2009 at 6:23 AM, Sam Watkins 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 --000e0cd2a05e2721700474e3c4fa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Oct 1, 2009 at 11:23 AM, David L= eimbach <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 checkou= t 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? = =A0Darcs (a haskell source control system) let's you get a subset of al= l the history, and if a patch refers to a really old revision you don't= have, will go get that and its dependencies. =A0It's like a lazy-repos= itory. =A0At least I think that's how it works, or that's how it= 9;s been explained to me.

Is there a way to git a partial repository or hg a partial r= epository?

Dave

<= div>
"Darcs 2 replac= es the concept of "partial" repositories with "lazy" on= es. There has always been a desire to allow "lightweight" checkou= ts that don't include the complete repo history. The darcs 1 solution t= o this was "partial" repositories that only checked out history u= p 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. Th= e new "lazy" concept offers similar benefits, and will pull down = older remote patches on demand if some command needs them. Lazy repositorie= s are a great comprise between features and performance."

Th= ere we go. =A0So I guess you just need Darcs2.

Da= ve=A0

--000e0cd2a05e2721700474e3c4fa--