[PATCH 4 of 5] tags: write a separate tags cache file for unfiltered repos

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Apr 16 14:15:43 CDT 2015



On 04/16/2015 12:02 PM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1429199653 14400
> #      Thu Apr 16 11:54:13 2015 -0400
> # Node ID 73090097c95a850b7af5584904288dea61e3b38a
> # Parent  ae6e9a2d4e3bed28324ba8987dda3b91fdaf949c
> tags: write a separate tags cache file for unfiltered repos
>
> Since we changed the format of the tags cache, we should bump the
> filename. Before this patch, "tags" was being used for unfiltered
> repositories. Change the naming scheme to be consistent and ensure
> that a new cache file is used.
>
> While I was here, I updated the docs to describe the existence of
> multiple caches. I also added explicit test coverage for the creation of
> the unfiltered tags cache.

We are introducing a new file format I think it should be called "tags2" 
and keep the unfiltered version without prefix to match what branchmap 
is doing.

I also fixed it locally after Greg approval. And pushed the result to 
the clowncopter.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list