Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2006-02-17 17:32:17
Size: 566
Editor: mpm
Comment:
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 5: Line 5:
[http://www.selenic.com/mercurial/bts/issue105 Issue105 in the BTS] covers partial checkouts and suggests using -X/-I on clone or checkout.
Line 7: Line 9:
 * pick a sensible name for this file  * pick a sensible name for this file (BryanOSullivan suggests ignoremissing)
Line 12: 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)