##// END OF EJS Templates
dirstate: fix a potential traceback when in `copy` and `rename`...
dirstate: fix a potential traceback when in `copy` and `rename` Before this changes, calling `hg copy` or `hg rename` could trigger a traceback about using an invalidated dirstate. This wasn't caught by the test as it needed the blackbox extension to preload the dirstate first in a way "refresh" invalidates it. Changing the context creation patterns fixes it.

File last commit:

r46652:8dca9051 default
r51225:9fc0d244 stable
Show More
base85.pyi
6 lines | 145 B | text/x-python | PythonLexer
from typing import Optional
version: int
def b85encode(text: bytes, pad: Optional[int]) -> bytes: ...
def b85decode(text: bytes) -> bytes: ...