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中是否反映了这一变化

相关文章

我最近重新拾起了计算机视觉,借助Python的opencv还有face_r...
说到Pooling,相信学习过CNN的朋友们都不会感到陌生。Poolin...
记得大一学Python的时候,有一个题目是判断一个数是否是复数...
文章目录 3 直方图Histogramplot1. 基本直方图的绘制 Basic ...
文章目录 5 小提琴图Violinplot1. 基础小提琴图绘制 Basic v...
文章目录 4 核密度图Densityplot1. 基础核密度图绘制 Basic ...