Tortoise Mercurial change group repository url for existing local repository

StackOverflow https://stackoverflow.com/questions/23129436

  •  05-07-2023
  •  | 
  •  

문제

Hey I'm using mercurial tortoise for version control of my projects one of my group repositories got corrupted and I would like to change the repository URL to the new one that is working how do I go about that.

도움이 되었습니까?

해결책

Simply change or add the new URLs to the paths section in your .hg/hgrc file. You can define different paths to groups or servers, for example:

#hgrc
[paths]
default = /somewhere/in/the/local/repository
group01 = https://example.com//absolute/path/in/remote/server/repository
...

As manual explains there are the special default and default-push paths.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top