hg command to see changeset?

Bryan O'Sullivan bos at serpentine.com
Tue Jul 26 15:09:02 UTC 2005


On Tue, 2005-07-26 at 10:53 -0400, Sean Dague wrote:
> If I browse to the website: http://xenbits.xensource.com/xen-unstable.hg I
> notice that I can see the changeset id (which is a real number) as well as
> the identify hash for each revision.
> 
> Is there a way to get that to display via hg command line?

Use hg log.

>   It would be
> easier to be able to use those numbers with developers when referring to a
> specific revision pull from hg.

It would be easier, but you can't use them.

Revision numbers are not stable.  They change when merges occur.  If any
repository has a change that isn't in another, it will have a different
series of revision numbers after that point.  You can't even reliably
use them among your own repositories, never mind to communicate with
other people.

	<b




More information about the Mercurial mailing list