[PATCH RFC] hgweb: replace some linkrev() with introrev() in hope issue4506 goes away

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Feb 18 05:38:23 CST 2015



On 02/17/2015 04:28 PM, Augie Fackler wrote:
> On Mon, Feb 16, 2015 at 04:18:04PM +0800, Anton Shestakov wrote:
>> # HG changeset patch
>> # User Anton Shestakov <engored at ya.ru>
>> # Date 1424074464 -28800
>> #      Mon Feb 16 16:14:24 2015 +0800
>> # Node ID 43dee1e7b5a6726697cc5cbdc20f77852ff10f0a
>> # Parent  0cfff4c42c9a146a09877cefee5a839cd70c6a2f
>> hgweb: replace some linkrev() with introrev() in hope issue4506 goes away
>
> LGTM, I guess, but I'd like a test. marmoute, please handle this one.

The general directoin seems good to me. But this needs a test.

You can easily create obsolescence markers using the `hg debugobsolete` 
function. See `hg test-obsolete.t` for examples (or other tests file)

Thanks for looking into this.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list