Repo with many obsolescence markers is getting really slow

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Mar 29 11:19:41 UTC 2017



On 03/28/2017 11:12 PM, Faheem Mitha wrote:
>
> On Tue, 28 Mar 2017, Dominik Ruf wrote:
>
>> Hi,
>
>> I was using changeset evolution quite heavily. (more then 20000
>> obsolescence markers, a lot of amend and rebasing) And I noticed that
>> pulling and pushing is getting really slow. Is this a know issue?
>> Could I expect that this is getting improved in the future?
>> Should/could I make some kind of cleanup?
>
> I think you can strip out the obsolete markers using something like
>
>     hg strip -r'obsolete()'

This does not strip the obsolescence markers. That strip the obsolete 
commit (you needs to add --hidden). This will help the performance of 
some local operation but probably won't help too much with the exchange, 
part.

`hg strip --hidden --rev 'obsolete()'`

Also make sure you use the latest format for obsolescence markers 
storage. Run 'hg debugobsconvert' to make sure of this.

Cheers,

-- 
Pierre-Yves David



More information about the Evolve-testers mailing list