加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Python > 正文

mercurial – 在TortoiseHG中重命名默认分支

发布时间:2020-12-16 23:30:14 所属栏目:Python 来源:网络整理
导读:是否可以在TortoiseHG中将’default’重命名为’production’? 解决方法 你不能直接从 Tortoise2.0+ settings,而是通过命令行hg. 如 hgbook所述: Mercurial lets you assign a persistent name to a branch. There always exists a branch named default.
是否可以在TortoiseHG中将’default’重命名为’production’?

解决方法

你不能直接从 Tortoise2.0+ settings,而是通过命令行hg.
如 hgbook所述:

Mercurial lets you assign a persistent name to a branch.
There always exists a branch named default. Even before you start naming branches yourself,you can find traces of the default branch if you look for them.

To start working with 07002,use the hg branches command

$hg branch production
marked working directory as branch production
$hg branch
production

然后检查TortoiseHg中是否反映了这一变化

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读