Differences between revisions 4 and 5
Revision 4 as of 2006-02-18 06:12:30
Size: 749
Comment: link to issue105
Revision 5 as of 2006-03-06 10:44:11
Size: 776
Editor: EricHopper
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
----
CategoryNewFeatures

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.


CategoryNewFeatures

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