Getting long hashes
Steve Borho
steve at borho.org
Thu Oct 4 21:06:11 CDT 2007
On Thu, 2007-10-04 at 14:27 -0700, Andrei Gaponenko wrote:
> Hi,
>
> How do I get the full, 40-character long, revision id, for a revision?
> I hoped to get it from "hg id" with some options, but found nothing
> appropriate. Is this supported? Perhaps an option for the "hg id"
> command, or even a global hg option --longhash, can be added to
> Mercurial for those who want to use the long version?
hg log --rev REV --template "{node}"
--
Steve Borho
More information about the Mercurial
mailing list