Tortoise Mercurial change group repository url for existing local repository

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

  •  05-07-2023
  •  | 
  •  

Pregunta

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.

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top