Show More
@@ -820,6 +820,7 b' def clearcaches(cl):' | |||||
820 | if util.safehasattr(cl, b'clearcaches'): |
|
820 | if util.safehasattr(cl, b'clearcaches'): | |
821 | cl.clearcaches() |
|
821 | cl.clearcaches() | |
822 | elif util.safehasattr(cl, b'_nodecache'): |
|
822 | elif util.safehasattr(cl, b'_nodecache'): | |
|
823 | # <= hg-5.2 | |||
823 | from mercurial.node import nullid, nullrev |
|
824 | from mercurial.node import nullid, nullrev | |
824 |
|
825 | |||
825 | cl._nodecache = {nullid: nullrev} |
|
826 | cl._nodecache = {nullid: nullrev} |
General Comments 0
You need to be logged in to leave comments.
Login now