Skip to content
Snippets Groups Projects
Commit 4091660dc130 authored by kiilerix's avatar kiilerix
Browse files

tag: invalidate tag cache immediately after adding new tag (issue3210)

New tags were written to .hgtags / .hglocaltags without updating or
invalidating the localrepo cache.

Before afd459933d5f a lock was acquired soon after the new tags had been
written, and that invalidated the cache so the new tags for example could be
seen in pretxncommit hooks. With afd459933d5f the lock had already been
acquired at this point and the missing cache invalidation was exposed.

The tag caches will now explicitly and immediately be invalidated when new tags
are added.
parent 3a51eb88046a
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment