分支的水银克隆 [英] Mercurial clone from a branch

查看:76
本文介绍了分支的水银克隆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个带有三个命名分支的存储库,我想克隆一个分支.有命令执行此操作吗?如果我为hg clone提供(分支的)路径,则会出现404错误.

We have a repository with three named branches, I wanted to clone one of the branches. Is there a mercurial command to do that? If I provide the path (of branch) with hg clone I get 404 error.

推荐答案

hg clone http://your/repo -r branchname应该可以解决问题.

这篇关于分支的水银克隆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆