[PATCH] perf: simply use repo.store for perffncache* commands

Adrian Buehlmann adrian at cadifra.com
Tue Oct 16 12:21:50 CDT 2012


Hi Augie,

I'd be grateful if you could push this one to the crew repo, so I don't
have to watch this loophole I created getting released with 2.4 :-)

(the existing code can be exploited to damage repositories in future
formats)

On 2012-10-12 19:57, Adrian Buehlmann wrote:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1350063804 -7200
> # Node ID 14220683b68d3c2419d80faf26d9679a9361b5ee
> # Parent  4871c1f343fae9f38b9dc9600ab96f2017d116ce
> perf: simply use repo.store for perffncache* commands
> 
> This makes sure that .hg/requires is observed and the correct kind of store
> object is created. Otherwise we might mutilate our test repos when experimenting
> with new repo formats.



More information about the Mercurial-devel mailing list