Skip to content
Snippets Groups Projects
Commit 2876d077a796 authored by Matt Harbison's avatar Matt Harbison
Browse files

filelog: drop the CamelCase name for `filelog.filelog`

See 61557734c0ae for the reasoning.
parent 9e94f9dbbbe8
No related branches found
No related tags found
2 merge requests!1041Merge default into stable,!1019Drop new-ish CamelCase class names for now
......@@ -64,7 +64,7 @@
queue.append(p2)
def buildtemprevlog(repo, file) -> filelog.FileLog:
def buildtemprevlog(repo, file) -> filelog.filelog:
# get filename key
filekey = hex(hashutil.sha1(file).digest())
filedir = os.path.join(repo.path, b'store/data', filekey)
......
......@@ -7,8 +7,6 @@
from __future__ import annotations
import typing
from typing import (
Iterable,
Iterator,
......@@ -22,7 +20,6 @@
)
from .interfaces import (
repository,
util as interfaceutil,
)
from .utils import storageutil
from .revlogutils import (
......@@ -31,7 +28,7 @@
)
class FileLog:
class filelog: # (repository.ifilestorage)
_revlog: revlog.revlog
nullid: bytes
_fix_issue6528: bool
......@@ -273,12 +270,6 @@
return self._revlog.clone(tr, destrevlog._revlog, **kwargs)
filelog = interfaceutil.implementer(repository.ifilestorage)(FileLog)
if typing.TYPE_CHECKING:
filelog = FileLog
class narrowfilelog(filelog):
"""Filelog variation to be used with narrow stores."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment