Clonning only from version and diff before pulls
Daniel Santa Cruz
byteshack at gmail.com
Thu Aug 18 08:23:43 CDT 2005
Does Hg do the hardlinks automagically for me, or is there something
that the user must do to tell it to do so?
On 8/17/05, Matt Mackall <mpm at selenic.com> wrote:
> On Wed, Aug 17, 2005 at 04:45:53PM -0400, Daniel Santa Cruz wrote:
> > > > One of the features of Hg is cloning by hardlinking. If your upstream is
> > > > on the
> > > > same filesystem as your working copy, you only use space for your actual
> > > > current working copy, and the .hg/ files that have been changed by local
> > > > commits.
> > Call me hard-headed, but I'm having a hard time figuring out how to do
> > this clone operation so that my new repo is still a hg repo, but only
> > with the tip on it... help... please :)
> You don't. Every repo is completely self-sufficient and
> self-contained. There is no main repository.
> The question is, why would you want to? If the answer is "to save
> space", hardlinked clones are already space-efficient.
> Mathematics is the supreme nostalgia of our time.
More information about the Mercurial