• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

在hg切换到标签/分支?

用户头像
it1352
帮助2

问题说明

我遵循了 https://developer.mozilla.org/En/Developer_Guide中的文档/Source_Code/Mercurial 并通过以下方式下载了FF源:

I followed the documentation in https://developer.mozilla.org/En/Developer_Guide/Source_Code/Mercurial and downloaded FF source with:

hg clone http://hg.mozilla.org/mozilla-central/ src

如何切换到FF3.6分支"或标签"?文件说

How can I switch to the FF3.6 'branch' or 'tag'? The documentation said

hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src

但是我不想同时克隆FF main和FF3.6两次吗?

but I don't want to clone both FF main and FF3.6 twice?

正确答案

#1

克隆存储库后,您便拥有了一切:您可以hg up branchnamehg up tagname来更新工作副本.

Once you have cloned the repo, you have everything: you can then hg up branchname or hg up tagname to update your working copy.

UP:hg uphg update的快捷方式,对于具有git习惯的人也具有hg checkout别名.

UP: hg up is a shortcut of hg update, which also has hg checkout alias for people with git habits.

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhbhbach
系列文章
更多 icon
同类精品
更多 icon
继续加载