##// END OF EJS Templates
git: add missing `repository.imanifestdict` methods to `gittreemanifest`...
git: add missing `repository.imanifestdict` methods to `gittreemanifest` The next logical step was to explicitly subclass `repository.imanifestdict`, but pytype flagged a few missing methods, because they're marked abstract. File "/mnt/c/Users/Matt/hg/hgext/git/manifest.py", line 238, in copy: Can't instantiate gittreemanifest with abstract methods dirs, fastdelta, set [not-instantiable] File "/mnt/c/Users/Matt/hg/hgext/git/manifest.py", line 287, in read: Can't instantiate gittreemanifest with abstract methods dirs, fastdelta, set [not-instantiable] File "/mnt/c/Users/Matt/hg/hgext/git/manifest.py", line 309, in read: Can't instantiate gittreemanifest with abstract methods dirs, fastdelta, set [not-instantiable] I'm not bothering to figure out how to implement them- add them to appease pytype, and put a TODO to fill in a proper implementation later.
Matt Harbison -
r53391:db6efd74 default
Show More
Name Size Modified Last Commit Author
/ mercurial / cext
__init__.py Loading ...
base85.c Loading ...
base85.pyi Loading ...
bdiff.c Loading ...
bdiff.pyi Loading ...
charencode.c Loading ...
charencode.h Loading ...
dirs.c Loading ...
manifest.c Loading ...
mpatch.c Loading ...
mpatch.pyi Loading ...
osutil.c Loading ...
osutil.pyi Loading ...
parsers.c Loading ...
parsers.pyi Loading ...
pathencode.c Loading ...
py.typed Loading ...
revlog.c Loading ...
revlog.h Loading ...
util.h Loading ...