Syncing your Mercurial clone

0 views
Skip to first unread message

Sean Gilligan

unread,
Dec 18, 2009, 1:30:21 PM12/18/09
to iui-dev...@googlegroups.com
Remi:

> I'd love to see this get merged in to samples or tests. Why don't you
> merge it in in your Mercurial clone?
>

'cause it was 2AM and i've just done it as i wrote my latest email ;) Will do it today, following hg instructions you gave me days ago.


You'll want to update/sync your clone first. I don't know if there is a
way to do it directly on Google Code (i.e. using the web GUI) but here
is how you can do it using the command line client:

1) Edit the file .hg/hgrc - it should look something like this:

[paths]
default = https://iui.googlecode.com/hg/
msgilligan-test = https://msgilligan-test.googlecode.com/hg/

That is it should have nicknames that point to both repositories

2) Use 'hg paths' to check the configuration

3) Use 'hg incoming <iui-main-nick>' to see what has been changed in a
remote repo

4) Use 'hg update <iui-main-nick>' to pull it in

5) Merge (I don't think you'll have any need to do this, but I could be
wrong

6) Use 'hg out <nick>' to see what would/will be pushed to a repo

7) Use 'hg push <nick>' to actually do it

There might be a better way, but I'm pretty new to Mercurial myself.

-- Sean

Reply all
Reply to author
Forward
0 new messages