##// END OF EJS Templates
rbc: fix invalid rbc-revs entries caused by missing cache growth...
rbc: fix invalid rbc-revs entries caused by missing cache growth It was in some cases possible to end up writing to the cache file without growing it first. The range assignment in _setcachedata would append instead of writing at the requested position and thus write the new record in the wrong place. To fix this, we avoid looking up in too small caches, and when growing the cache, do it right before writing the new record to it so we know it has been done correctly.
Mads Kiilerich -
r29604:db0095c8 default
Show More
Name Size Modified Last Commit Author
/ hgext / fsmonitor
pywatchman
__init__.py Loading ...
state.py Loading ...
watchmanclient.py Loading ...