Reputation: 199224
I create a "server" clone from a project hosted at code.google.com. I create a clone from that repository in my machine and push some changes; everything goes well.
Now the master repository has some changes and I want to pull them. How do I get my "server" clone updated with those changes?
Upvotes: 3
Views: 242
Reputation: 284816
hg pull -u google_code_url
The -u means automatically update your working copy. You can set (if it's not already there) a default URL in the .hg/hgrc
file:
[paths]
default = pull_url
default-push = push_url
Then, you can just do:
hg push
hg pull -u
Of course, you can still specify a different location manually.
Upvotes: 6