Patchwork D8651: share: provide a more useful text for hg help

login
register
mail settings
Submitter phabricator
Date June 23, 2020, 2:07 p.m.
Message ID <differential-rev-PHID-DREV-on72tfbkjlbeijjjjfuo-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46550/
State Superseded
Headers show

Comments

phabricator - June 23, 2020, 2:07 p.m.
joerg.sonnenberger created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  hgext/share.py

CHANGE DETAILS




To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/hgext/share.py b/hgext/share.py
--- a/hgext/share.py
+++ b/hgext/share.py
@@ -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
 -----------------------------------