Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/mercurial/loader.py
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
HEAD_POINTER_NAME = b'tip' | HEAD_POINTER_NAME = b'tip' | ||||
class HgBundle20Loader(UnbufferedLoader): | class HgBundle20Loader(UnbufferedLoader): | ||||
"""Mercurial loader able to deal with remote or local repository. | """Mercurial loader able to deal with remote or local repository. | ||||
""" | """ | ||||
CONFIG_BASE_FILENAME = 'loader/hg' | CONFIG_BASE_FILENAME = 'loader/mercurial' | ||||
ADDITIONAL_CONFIG = { | ADDITIONAL_CONFIG = { | ||||
'bundle_filename': ('str', 'HG20_none_bundle'), | 'bundle_filename': ('str', 'HG20_none_bundle'), | ||||
'reduce_effort': ('bool', False), | 'reduce_effort': ('bool', False), | ||||
'temp_directory': ('str', '/tmp'), | 'temp_directory': ('str', '/tmp'), | ||||
'cache1_size': ('int', 800*1024*1024), | 'cache1_size': ('int', 800*1024*1024), | ||||
'cache2_size': ('int', 800*1024*1024), | 'cache2_size': ('int', 800*1024*1024), | ||||
} | } | ||||
▲ Show 20 Lines • Show All 466 Lines • Show Last 20 Lines |