如何从TortoiseHG设置默认的推/拉存储库 [英] How to set the default push/pull repository from TortoiseHG

查看:85
本文介绍了如何从TortoiseHG设置默认的推/拉存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的一个存储库,它不记得我要拉入并推送到的存储库的名称.我的计算机上的任何其他存储库都没有这个问题.他们有什么办法解决这个问题吗?

For one of my repositories, it doesn't remember the name of the repository I am pulling and pushing to. I don't have this problem with any of the other repositories on my machine. Is their any way to fix this?

推荐答案

从3.0版开始,没有用于选择默认URL的设置".相反,您必须为所需的URL创建别名默认".

As of version 3.0 there is no "setting" for choosing the default URL. Instead you must create an alias of "default" for the URL that you want.

为此,请在工作台上右键单击存储库,然后选择设置.单击编辑文件",然后添加一行(请参见下文),以指定所需存储库的默认路径.

To do so, from workbench, right click on the repository and select settings. Click Edit File and add a line (see below) that specifies the default path to the desired repository.

default = URL of repository

这篇关于如何从TortoiseHG设置默认的推/拉存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆