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

前端之家收集整理的这篇文章主要介绍了mercurial – 在TortoiseHG中重命名默认分支前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
是否可以在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中是否反映了这一变化

原文链接:https://www.f2er.com/python/185964.html

猜你在找的Python相关文章