commands: remove suggestion to clone via `cp -al`
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 01 Oct 2017 10:17:11 +0100
changeset 34393 aea6344e989b
parent 34392 6797f1fbc642
child 34394 fffd3369aa83
commands: remove suggestion to clone via `cp -al` This was added in 2df98f616645 in 2006. This may be possible but it seems like a bad idea to even suggest it. Differential Revision: https://phab.mercurial-scm.org/D863
mercurial/commands.py
--- a/mercurial/commands.py	Sat Sep 30 09:01:36 2017 +0100
+++ b/mercurial/commands.py	Sun Oct 01 10:17:11 2017 +0100
@@ -1339,18 +1339,6 @@
       incorrectly, but do not report errors. In these cases, use the
       --pull option to avoid hardlinking.
 
-      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.
-
       Mercurial will update the working directory to the first applicable
       revision from this list: