##// END OF EJS Templates
mercurial: Explicitly disable largefiles extension when no config value is present for it....
Martin Bornhold -
r36:368b34ff default
parent child Browse files
Show More
@@ -57,6 +57,14 b' def make_ui_from_config(repo_config):'
57 57 # signal in a non-main thread, thus generating a ValueError.
58 58 baseui.setconfig('worker', 'numcpus', 1)
59 59
60 # If there is no config for the largefiles extension, we explicitly disable
61 # it here. This overrides settings from repositories hgrc file. Recent
62 # mercurial versions enable largefiles in hgrc on clone from largefile
63 # repo.
64 if not baseui.hasconfig('extensions', 'largefiles'):
65 log.debug('Explicitly disable largefiles extension for repo.')
66 baseui.setconfig('extensions', 'largefiles', '!')
67
60 68 return baseui
61 69
62 70
General Comments 0
You need to be logged in to leave comments. Login now