[PATCH STABLE] localrepo: clear filecache correctly on destroyed()

Hao Lian hao at fogcreek.com
Tue Nov 20 10:33:16 CST 2012


> A test for the behaviour you mention above would be really good due
> to the buggy past of this piece of code.

I was working off an hg convert of this SVN repository:
https://beyondcvs.svn.sourceforge.net/svnroot/beyondcvs/

It's too large (5 MB) and it's other people's code so I didn't include
it as a test. I would investigate creating a synthetic repo with empty
revisions but I'm afraid I'm swamped right now.

> Also, I'm pretty sure there's at least one convert bug that wants
> mentioning in the summary.

I'll resubmit this patch once Idan reviews it with a better summary.


More information about the Mercurial-devel mailing list