[英]Tortoise SVN Cannot commit to repo
I backed up my visualsvn repos from a computer and after installing visualsvn and tortoise on a new computer I imported the backedup repos.我从计算机上备份了我的 visualsvn 存储库,在新计算机上安装了 visualsvn 和 tortoise 后,我导入了备份的存储库。 It looked ok since I could see the changes made on the first computer and use the dev branch.
看起来不错,因为我可以看到在第一台计算机上所做的更改并使用 dev 分支。
When I tried to commit modifications made on the second computer I got a当我尝试提交在第二台计算机上所做的修改时,我得到了一个
"tortoise cannot connect to the repository"
“乌龟无法连接到存储库”
and thus not commit.因此不提交。
On the first machine I used to access repos through file protocol and on the new machine I got the https protocol which works fine because I can access it through browser and or tortoise repo browser.在第一台机器上,我曾经通过文件协议访问存储库,在新机器上,我得到了 https 协议,该协议运行良好,因为我可以通过浏览器和/或龟级存储库浏览器访问它。
It is just tortoise commit that keeps wanting to use the file protocol instead of the https.只是乌龟提交一直想使用文件协议而不是 https。 I assume it was imported from the backup but how can I tell tortoise to switch to http?
我假设它是从备份中导入的,但我怎样才能告诉乌龟切换到 http?
I just found the answer:我刚刚找到了答案:
Use TortoiseSVN, rightclick the top most folder you checked-out/or not.使用 TortoiseSVN,右键单击您签出/未签出的最顶层文件夹。
Select TortoiseSVN --> Relocate. Select TortoiseSVN --> 重新定位。
Simply type in the new url with the choosen protocol and click OK.只需使用所选协议键入新的 url,然后单击确定。 Without even restarting Visual studio, you can commit/update with the new url.
甚至无需重新启动 Visual Studio,您就可以使用新的 url 提交/更新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.