How can I switch to a tag/branch in hg?

后端 未结 1 1999
忘了有多久
忘了有多久 2021-01-31 06:34

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.         


        
相关标签:
1条回答
  • 2021-01-31 07:21

    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 is a shortcut of hg update, which also has hg checkout alias for people with git habits.

    0 讨论(0)
提交回复
热议问题