Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.

Conversation

@scbash
Copy link
Contributor

@scbash scbash commented Oct 21, 2010

Here's a reroll of the stale cache fix... It did require replacing Lock with RLock, and while I was at it I moved a lot of stuff around... There's a lot of repeated code, but I wanted to try to avoid rebuilding the cache if it didn't need to be done. Let me know what you think.

Thanks,
Stephen

This is a sub-optimal solution to the stale rev_cache problem.
Basically if verifyrev gets a valid SHA from an external git
call that isn't in the rev_dict or tag_set, verifyrev attempt
to rebuild the cache.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant