Show More
@@ -1339,18 +1339,6 b' def clone(ui, source, dest=None, **opts)' | |||||
1339 | incorrectly, but do not report errors. In these cases, use the |
|
1339 | incorrectly, but do not report errors. In these cases, use the | |
1340 | --pull option to avoid hardlinking. |
|
1340 | --pull option to avoid hardlinking. | |
1341 |
|
1341 | |||
1342 | In some cases, you can clone repositories and the working |
|
|||
1343 | directory using full hardlinks with :: |
|
|||
1344 |
|
||||
1345 | $ cp -al REPO REPOCLONE |
|
|||
1346 |
|
||||
1347 | This is the fastest way to clone, but it is not always safe. The |
|
|||
1348 | operation is not atomic (making sure REPO is not modified during |
|
|||
1349 | the operation is up to you) and you have to make sure your |
|
|||
1350 | editor breaks hardlinks (Emacs and most Linux Kernel tools do |
|
|||
1351 | so). Also, this is not compatible with certain extensions that |
|
|||
1352 | place their metadata under the .hg directory, such as mq. |
|
|||
1353 |
|
||||
1354 | Mercurial will update the working directory to the first applicable |
|
1342 | Mercurial will update the working directory to the first applicable | |
1355 | revision from this list: |
|
1343 | revision from this list: | |
1356 |
|
1344 |
General Comments 0
You need to be logged in to leave comments.
Login now