Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In mercurial land you're talking about three different types of partial clones:</p> <ul> <li>shallow clones: I want the history from revision point X onward <strong>use the <a href="https://bitbucket.org/facebook/remotefilelog" rel="noreferrer">remotefilelog extension</a></strong></li> <li>partial clones by filepath: I want all revision history in directory /path with <strong>experimental <a href="https://bitbucket.org/Google/narrowhg" rel="noreferrer">narrowhg extension</a></strong> or I want only files in directory /path to be in my working directory with <strong>experimental sparse extension</strong> (shipped since version 4.3, see <code>hg help sparse</code>).</li> <li>partial clones by branch: I want all revision history on branch Y: <strong>use clone -r</strong></li> </ul> <p>If you know how people will want to break things down by filepath (multiple projects in the same repo (shame on you)) you can use subrepositories (sort of like svn externals) to pre-split the repo into separately cloneable portions</p> <p>Also, as to the "so huge I'd like to only get a part of it": You really only have to do that one time ever. Just clone it while you have lunch, and then you have it forever more. Subsequently you can <code>pull</code> and get deltas efficiently going forward. And if you want another clone of it, just clone your first clone. Where you got a clone doesn't matter (and local clones take up no additional diskspace since they're hard links under the covers).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload