Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the url hg pull uses [duplicate]

Tags:

mercurial

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?

like image 951
benstpierre Avatar asked Jun 13 '11 16:06

benstpierre


1 Answers

You can just edit .hg/hgrc

[paths]
default = https://yoururl.com/dev-repo-name
like image 158
benstpierre Avatar answered Oct 12 '22 23:10

benstpierre