All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aron Griffis <aron@hp.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	xen-devel <xen-devel@lists.xensource.com>,
	Markus Armbruster <armbru@redhat.com>
Subject: Re: Has 3.0.3 been released?
Date: Wed, 18 Oct 2006 09:25:50 -0400	[thread overview]
Message-ID: <20061018132549.GA12046@fc.hp.com> (raw)
In-Reply-To: <C15BE1C9.2B7B%Keir.Fraser@cl.cam.ac.uk>

Keir Fraser wrote:  [Wed Oct 18 2006, 08:51:05AM EDT]
> > The sparse tree has been an enourmous pain in the neck for me and
> > many others.  If all that pain is outweighed by quicker cloning of
> > Linux repos, then you must do that much more often than I can
> > imagine.
> 
> Yes we do. One option is for us to keep a private sparse tree and
> have a script that pulls out patches and applies them to a public
> full Linux tree.

This may be well-known already, but if the issue is with the
time/space taken by "hg clone", you can make clones faster with 
"cp -al".

Normally "hg clone" will create hard links of everything in the .hg
directory, but it makes copies for the working set.  Using "cp -al"
doubles the savings by making the working set hard links as well.

All the normal tools (patch for example) will handle hard links
correctly, treating them as COW.  AFAIK the only tool that needs
special configuration is vim:

    set backupcopy+=breakhardlink

$ time hg clone xen-unstable.hg xen-unstable.hg-clone
real    0m8.293s

$ time cp -al xen-unstable.hg xen-unstable.hg-clone2
real    0m0.408s

$ time cp -al linux-2.6 linux-2.6-clone
real    0m1.644s

Aron

      parent reply	other threads:[~2006-10-18 13:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-17 21:06 Has 3.0.3 been released? Anthony Liguori
2006-10-17 21:45 ` S.Çağlar Onur
2006-10-17 21:57 ` Steven Hand
2006-10-17 22:02   ` John Levon
2006-10-17 21:53     ` Keir Fraser
2006-10-17 22:20       ` Adam Heath
2006-10-17 22:32         ` Steven Hand
2006-10-18  6:43           ` Pasi Kärkkäinen
2006-10-18  7:00             ` Steven Hand
2006-10-17 22:01 ` Aron Griffis
2006-10-17 21:55   ` Keir Fraser
2006-10-17 22:26     ` Aron Griffis
2006-10-18 12:43     ` Markus Armbruster
2006-10-18 12:51       ` Keir Fraser
2006-10-18 13:06         ` Muli Ben-Yehuda
2006-10-18 13:25         ` Aron Griffis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061018132549.GA12046@fc.hp.com \
    --to=aron@hp.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=aliguori@us.ibm.com \
    --cc=armbru@redhat.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.