[Buildbot-devel] Mercurial rev-ids 12 -> 40 char

Marcus Lindblom macke at yar.nu
Fri Jan 15 07:44:51 UTC 2010


On 2010-01-15 01:44, Nicolas Alvarez wrote:
> Marcus Lindblom wrote:
>> Would it upset anyone if I changed the getRev() step on Mercurial to get
>> the full 40-char SHA-1 hex string, as opposed to the 'short' one that we
>> get by default?
>
> I hate how git revisions look now on the web interface.
>
> I'd say... make getRev return the full string, but make the web interface
> shorten it before showing.

That was my plan. :)

Although I'd like to be able to select & copy the full rev id to the 
clipboard. Haven't thought of a good way to do that yet.

My GF leaves for England on Sunday, so I hope to get some hacking done 
by then. ;)

Cheers,
/Marcus





More information about the devel mailing list