build/test integration: best practice?
Gilles Moris
gilles.moris at free.fr
Fri May 7 19:54:21 UTC 2010
On Friday 07 May 2010 09:30:14 pm Giorgos Keramidas wrote:
> Yes, each working copy has its own "copy" of the files. You can
> manually intervene and hard-link working-copy files too by careful use
> of "debugxxx" commands but it's a bit tricky to get right for all the
> possible edge cases. Better safe with separate working copy files :)
BTW, the "hg help clone" still mentions using "cp -al REPO CLONE" to do that:
In some cases, you can clone repositories and the working directory using
full hardlinks with
$ cp -al REPO REPOCLONE
This is the fastest way to clone, but it is not always safe. The operation
is not atomic (making sure REPO is not modified during the
operation is up to you) and you have to make sure your editor breaks
hardlinks (Emacs and most Linux Kernel tools do so). Also, this is
not compatible with certain extensions that place their metadata under
the .hg directory, such as mq.
Regards.
Gilles.
More information about the Mercurial
mailing list