[Yanel-dev] First steps with Mercurial
Cedric Staub
cedric.staub at wyona.com
Wed Mar 2 17:44:55 CET 2011
On Wed, Mar 02, 2011 at 12:00:18PM +0100, Michael Wechner wrote:
> Balz and I are currently taking our first steps with Mercurial.
>
> Both of us have a local clone of the master version (default =
> http://hg.wyona.com/yanel-mercurial-mirror)
>
> Balz has now made some changes and provided his version (hg serve) to me
> and I have added his server
> to the file ".hg/hgrc"
>
> balz = http://192.168.1.47:8000/
>
> and now was able to get his changes using
>
> hg pull balz
> hg update
>
> So far so good ;-) BUT how can I see the differences now between my
> version and the default/master version?
You can show the differences between two revisions with
hg diff -r REV1:REV2
Where you can supply local revision numbers, hashes, branch names, etc.
Also, before pulling from a remote host you can do:
hg incoming SOURCE
Which will show new changesets from SOURCE that you don't have yet, but
without pulling them.
See also http://hgbook.red-bean.com/read/
Cheers
Cedric
More information about the Yanel-development
mailing list