can i check out only a sub directory from mercurial repository, it seems i can only check out the whole repository.
One day that feature will exist.
Omnifarious
2010-01-22 03:34:21
Hopefully! But considering how hg and git both store the repository history, it's unlikely to happen soon.
clee
2010-01-22 03:37:59
ACtually, from what I know of how Mercurial does it vs. git, it should be easier to implement in Mercurial. Though all the ways I know of will still result in manifest files that are a lot bigger than they strictly need to be.
Omnifarious
2010-01-22 03:40:26
+2
A:
You can't do it. The feature is planned, but not implemented. The previous person gave a nice link to where you can read a discussion about the partial clone feature.
For now, you should just be really careful to divide things up so a repository is a fairly small unit that makes logical sense to manage in one piece. The existence of the ability to have subrepos might help you organize and manage things until that feature exists.
Omnifarious
2010-01-22 03:38:52