开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜