changeset 44979:2fd8a8c11273 stable

share: provide a more useful text for hg help Differential Revision: https://phab.mercurial-scm.org/D8651
author Joerg Sonnenberger <joerg@bec.de>
date Tue, 23 Jun 2020 16:07:18 +0200
parents 95c672c07116
children 3fadbdc47aed 839328c5a728
files hgext/share.py
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/share.py	Thu Jun 25 00:06:23 2020 -0700
+++ b/hgext/share.py	Tue Jun 23 16:07:18 2020 +0200
@@ -5,6 +5,15 @@
 
 '''share a common history between several working directories
 
+The share extension introduces a new command :hg:`share` to create a new
+working directory. This is similar to :hg:`clone`, but doesn't involve
+copying or linking the storage of the repository. This allows working on
+different branches or changes in parallel without the associated cost in
+terms of disk space.
+
+Note: destructive operations or extensions like :hg:`rollback` should be
+used with care as they can result in confusing problems.
+
 Automatic Pooled Storage for Clones
 -----------------------------------