working copy clone hardlinking (saves 200m for each clone)
Andrea Arcangeli
andrea at suse.de
Wed Jun 29 23:30:22 UTC 2005
On Wed, Jun 29, 2005 at 09:30:30AM +0200, Thomas Arendsen Hein wrote:
> * Matt Mackall <mpm at selenic.com> [20050629 09:20]:
> > On Wed, Jun 29, 2005 at 12:17:51AM -0700, Bryan O'Sullivan wrote:
> > > On Wed, 2005-06-29 at 09:14 +0200, Thomas Arendsen Hein wrote:
> > > > This wouldn't remove the .hg directory located somewhere else, or
> > > > you manually have to look where the real .hg directory is stored and
> > > > then remove that in addition to the working directory.
> > >
> > > Oh! You're talking about having the working directory and .hg in
> > > completely different places. That's what I was missing.
> >
> > You can do that today with a symlink.
>
> I know, but this will involve init/clone && mkdir && mv && ln,
> instead of just init/clone.
>
> And this wouldn't work for Windows, see my original posting for a
> workaround.
Thanks for the help with this. For my usage the symlink is probably good
enough, so we may keep it in the todo list for windows users, but I
personally don't mind anymore.
More information about the Mercurial
mailing list