# HG changeset patch # User Martin von Zweigbergk # Date 1593106371 25200 # Node ID 3fadbdc47aedfe3adcd41ce9a23aef36884ba049 # Parent d1471dbbdd63e17514ebcd8dd94cbbdc401fff61# Parent 2fd8a8c1127378bce6e6a4205fe7e3c62134cb99 merge with stable diff -r d1471dbbdd63 -r 3fadbdc47aed hgext/share.py --- a/hgext/share.py Wed Jun 24 23:17:56 2020 -0700 +++ b/hgext/share.py Thu Jun 25 10:32:51 2020 -0700 @@ -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 ----------------------------------- diff -r d1471dbbdd63 -r 3fadbdc47aed mercurial/utils/procutil.py --- a/mercurial/utils/procutil.py Wed Jun 24 23:17:56 2020 -0700 +++ b/mercurial/utils/procutil.py Thu Jun 25 10:32:51 2020 -0700 @@ -635,7 +635,9 @@ def _do_wait(): os.waitpid(pid, 0) - threading.Thread(target=_do_wait, daemon=True).start() + t = threading.Thread(target=_do_wait) + t.daemon = True + t.start() return # Parent process (_pid, status) = os.waitpid(pid, 0)