Can I clone part of a Mercurial repository?

前端 未结 7 1058
余生分开走
余生分开走 2020-12-24 01:27

Is it possible to clone part of a Mercurial repository? Let\'s say the repository is quite large, or contains multiple projects, or multiple branches. Can I clone only part

7条回答
  •  天涯浪人
    2020-12-24 01:54

    Mercurial and Git only permit cloning on the entire repository. Thus it is recommended that each project gets its own repository.

    Mercurial has a forest extension to ease having a "forest" for project repositories. The extension keeps each project in a separate repository, but provides options to update/push/pull all the forest repositories together.

提交回复
热议问题