[PATCH evolve-ext-V2] directaccess: fix case of shortened hash containing only digits

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Nov 18 16:19:51 CST 2015



On 11/18/2015 01:50 PM, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1447883246 28800
> #      Wed Nov 18 13:47:26 2015 -0800
> # Node ID 50efee92c2d61e9d40d24c9105b67a73605aee28
> # Parent  48547b4c77defdd17c670b1eb0eb94272edf0207
> directaccess: fix case of shortened hash containing only digits

That one is pushed to main, thanks.

> For directaccess, there are four cases for what looks like short hashes made
> of digits only:
> 1 | the hash is a revision number and not a short hash for another revision:
> we don't change the visibility
>
> 2 | the hash is a revision number and a short hash for another revision:
> we don't change the visibility

hopefully, our shortest hash algorithm is not exposing our user to these.


> 'HG:' are removed.

;-)

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list