更改url hg pull使用

时间:2011-06-13 16:55:31

标签: mercurial

  

可能重复:
  Changing Mercurial “Default” Parent 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”?

1 个答案:

答案 0 :(得分:22)

你可以编辑.hg / hgrc

[paths]
default = https://yoururl.com/dev-repo-name