hgext/git/__init__.py
changeset 45950 c7c1efdfd4de
parent 45949 a001e28ad5eb
child 46607 e9901d01d135
equal deleted inserted replaced
45949:a001e28ad5eb 45950:c7c1efdfd4de
    41 configitem(
    41 configitem(
    42     b"git",
    42     b"git",
    43     b"log-index-cache-miss",
    43     b"log-index-cache-miss",
    44     default=False,
    44     default=False,
    45 )
    45 )
       
    46 
       
    47 getversion = gitutil.pygit2_version
       
    48 
    46 
    49 
    47 # TODO: extract an interface for this in core
    50 # TODO: extract an interface for this in core
    48 class gitstore(object):  # store.basicstore):
    51 class gitstore(object):  # store.basicstore):
    49     def __init__(self, path, vfstype):
    52     def __init__(self, path, vfstype):
    50         self.vfs = vfstype(path)
    53         self.vfs = vfstype(path)