问题描述
我遵循了 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/Mercurialand 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?
推荐答案
克隆存储库后,您便拥有了一切:您可以hg up branchname
或hg 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 up
是hg update
的快捷方式,对于具有git
习惯的人也具有hg checkout
别名.
UP: hg up
is a shortcut of hg update
, which also has hg checkout
alias for people with git
habits.
这篇关于如何在hg中切换到标签/分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!