Differences between revisions 1 and 2
Revision 1 as of 2006-02-17 17:31:06
Size: 468
Editor: mpm
Comment:
Revision 2 as of 2006-02-17 17:32:17
Size: 566
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 
Not to be confused with TrimmingHistory, which trims in the history tree, not the directory tree.

Problem: on large repos, it would be useful to be able to do a partial clone and/or checkout

Proposal: add a new file like .hgignore to the .hg/ directory that specifies which files should be ignored for clone/checkout.

To implement:

  • pick a sensible name for this file
  • teach localrepo to use this filtering where appropriate (checkout, pull)
  • teach changegroup to choke if someone attempts to pull a changeset from us with a file we don't have

Not to be confused with TrimmingHistory, which trims in the history tree, not the directory tree.

PartialClone (last edited 2012-10-25 20:50:28 by mpm)