Differences between revisions 3 and 4
Revision 3 as of 2006-02-17 17:34:19
Size: 606
Comment:
Revision 4 as of 2006-02-18 06:12:30
Size: 749
Comment: link to issue105
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

[http://www.selenic.com/mercurial/bts/issue105 Issue105 in the BTS] covers partial checkouts and suggests using -X/-I on clone or checkout.

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.

[http://www.selenic.com/mercurial/bts/issue105 Issue105 in the BTS] covers partial checkouts and suggests using -X/-I on clone or checkout.

To implement:

  • pick a sensible name for this file (BryanOSullivan suggests ignoremissing)
  • 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)