14

Possible Duplicate:
Changing Mercurial “Default” Parent URL

Initially our application was at

http://ourserver.com/webapp

now it is at

http://outserver.com/dev

Because I did an hg clone "http://ourserver.com/webapp" hg pull now uses "http://ourserver.com/webapp". How can I change it so hg pull uses "http://ourserver.com/dev" other than explicitly using hg pull http://ourserver.com/webapp or re-cloning the repo?

Community
  • 1
  • 1
benstpierre
  • 32,833
  • 51
  • 177
  • 288

1 Answers1

25

You can just edit .hg/hgrc

[paths]
default = https://yoururl.com/dev-repo-name
benstpierre
  • 32,833
  • 51
  • 177
  • 288