Patchwork D863: commands: remove suggestion to clone via `cp -al`

login
register
mail settings
Submitter phabricator
Date Oct. 1, 2017, 10:56 a.m.
Message ID <53c33112ddf41c10f6e52b8631691f7f@localhost.localdomain>
Download mbox | patch
Permalink /patch/24311/
State Not Applicable
Headers show

Comments

phabricator - Oct. 1, 2017, 10:56 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGaea6344e989b: commands: remove suggestion to clone via `cp -al` (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D863?vs=2227&id=2237

REVISION DETAIL
  https://phab.mercurial-scm.org/D863

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, simpkins, durin42
Cc: simpkins, mercurial-devel

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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: