Mercurial - 一次克隆所有远程分支

Mercurial - clone all remote branches at once

想知道 Mercurial 在克隆存储库时是否也包括所有远程分支?基本上我有一些专有/未使用的 mercurial 存储库,有很多分支。我想一次克隆所有这些并从中备份。

如果您在不使用任何其他参数的情况下克隆 Mercurial 存储库,则您会制作一个包含所有分支的存储库副本。

https://www.mercurial-scm.org/repo/hg/help/clone :

hg clone [OPTION]... SOURCE [DEST]

make a copy of an existing repository

Create a copy of an existing repository in a new directory.