Mercurial > hg > mercurial-source
diff mercurial/hg.py @ 41019:6309128ff61f
py3: use __code__ instead of func_code to test if func is cachable
Surprisingly, this fixes test-cache-abuse.t, which would generate a different
revbranch cache if filtered set had no cache.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 13 Oct 2018 11:01:38 +0200 |
parents | d3d4b4b5f725 |
children | 6637b079ae45 |