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?

1
  • are you using a console or something like tortoiseHG?
    – venimus
    Jun 13, 2011 at 17:06

1 Answer 1

25

You can just edit .hg/hgrc

[paths]
default = https://yoururl.com/dev-repo-name
1
  • The line will currently say: default = http://ourserver.com/webapp
    – Bill99
    Jun 13, 2011 at 18:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.