更改url hg pull使用

ben*_*rre 13 mercurial

可能重复:
更改Mercurial"默认"父URL

最初我们的申请是在

http://ourserver.com/webapp

现在是在

http://outserver.com/dev

因为我做了一个hg克隆" http://ourserver.com/webapp"hg pull现在使用" http://ourserver.com/webapp ".我怎么能改变它所以hg pull使用" http://ourserver.com/dev "而不是明确地使用hg pull http://ourserver.com/webapp或重新克隆回购?

ben*_*rre 23

你可以编辑.hg/hgrc

[paths]
default = https://yoururl.com/dev-repo-name
Run Code Online (Sandbox Code Playgroud)