How to share a part of a Mercurial repository?
I have a Mercurial repository hosted in Bitbucket. As of now I have made it private. But开发者_Python百科 I intend to share a few of the documents with other people. Is there a way, I can share only that particular file of a folder of my repository with other people?
If not, is there any other solution apart from mailing him/her that content?
Nope, you can't. What you can do is either take the files out, or if the history is important, create a new repository with the rest of the files filtered out (see hg convert documentation, specifically --filemap
option). Just keep in mind you won't be able to pull and push between those two.
精彩评论