Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added illustrations on workspace/repo tiering


I was told that hg clone would try to use hardlinks to save space and time, so I guess keeping the masters and clones in one filesystem (accessible under /code below) is highly recommended.


Bob: Look in the hidden .hg directory for the actual repository. For local clones, Hg can use hard links to refer to the same repository files. The hard link is broken if the file is to be updated.

ZFS's clone can do a bit better because Mercurial only appends to repository files so ZFS-cloned blocks will remain de-duplicated unless they are a short tail block which was updated.