Show More
@@ -186,10 +186,6 b' force_https = false' | |||||
186 | ## use Strict-Transport-Security headers |
|
186 | ## use Strict-Transport-Security headers | |
187 | use_htsts = false |
|
187 | use_htsts = false | |
188 |
|
188 | |||
189 | ## git rev filter option, --all is the default filter, if you need to |
|
|||
190 | ## hide all refs in changelog switch this to --branches --tags |
|
|||
191 | git_rev_filter = --branches --tags |
|
|||
192 |
|
||||
193 | # Set to true if your repos are exposed using the dumb protocol |
|
189 | # Set to true if your repos are exposed using the dumb protocol | |
194 | git_update_server_info = false |
|
190 | git_update_server_info = false | |
195 |
|
191 |
@@ -161,10 +161,6 b' force_https = false' | |||||
161 | ## use Strict-Transport-Security headers |
|
161 | ## use Strict-Transport-Security headers | |
162 | use_htsts = false |
|
162 | use_htsts = false | |
163 |
|
163 | |||
164 | ## git rev filter option, --all is the default filter, if you need to |
|
|||
165 | ## hide all refs in changelog switch this to --branches --tags |
|
|||
166 | git_rev_filter = --branches --tags |
|
|||
167 |
|
||||
168 | # Set to true if your repos are exposed using the dumb protocol |
|
164 | # Set to true if your repos are exposed using the dumb protocol | |
169 | git_update_server_info = false |
|
165 | git_update_server_info = false | |
170 |
|
166 |
@@ -572,7 +572,6 b' def _sanitize_vcs_settings(settings):' | |||||
572 | settings. |
|
572 | settings. | |
573 | """ |
|
573 | """ | |
574 | _string_setting(settings, 'vcs.svn.compatible_version', '') |
|
574 | _string_setting(settings, 'vcs.svn.compatible_version', '') | |
575 | _string_setting(settings, 'git_rev_filter', '--all') |
|
|||
576 | _string_setting(settings, 'vcs.hooks.protocol', 'http') |
|
575 | _string_setting(settings, 'vcs.hooks.protocol', 'http') | |
577 | _string_setting(settings, 'vcs.hooks.host', '127.0.0.1') |
|
576 | _string_setting(settings, 'vcs.hooks.host', '127.0.0.1') | |
578 | _string_setting(settings, 'vcs.scm_app_implementation', 'http') |
|
577 | _string_setting(settings, 'vcs.scm_app_implementation', 'http') |
@@ -41,7 +41,6 b' def configure_vcs(config):' | |||||
41 | conf.settings.HOOKS_PROTOCOL = config['vcs.hooks.protocol'] |
|
41 | conf.settings.HOOKS_PROTOCOL = config['vcs.hooks.protocol'] | |
42 | conf.settings.HOOKS_HOST = config['vcs.hooks.host'] |
|
42 | conf.settings.HOOKS_HOST = config['vcs.hooks.host'] | |
43 | conf.settings.HOOKS_DIRECT_CALLS = config['vcs.hooks.direct_calls'] |
|
43 | conf.settings.HOOKS_DIRECT_CALLS = config['vcs.hooks.direct_calls'] | |
44 | conf.settings.GIT_REV_FILTER = shlex.split(config['git_rev_filter']) |
|
|||
45 | conf.settings.DEFAULT_ENCODINGS = config['default_encoding'] |
|
44 | conf.settings.DEFAULT_ENCODINGS = config['default_encoding'] | |
46 | conf.settings.ALIASES[:] = config['vcs.backends'] |
|
45 | conf.settings.ALIASES[:] = config['vcs.backends'] | |
47 | conf.settings.SVN_COMPATIBLE_VERSION = config['vcs.svn.compatible_version'] |
|
46 | conf.settings.SVN_COMPATIBLE_VERSION = config['vcs.svn.compatible_version'] |
@@ -25,9 +25,6 b' Internal settings for vcs-lib' | |||||
25 | # list of default encoding used in safe_unicode/safe_str methods |
|
25 | # list of default encoding used in safe_unicode/safe_str methods | |
26 | DEFAULT_ENCODINGS = ['utf8'] |
|
26 | DEFAULT_ENCODINGS = ['utf8'] | |
27 |
|
27 | |||
28 | # Optional arguments to rev-filter, it has to be a list |
|
|||
29 | # It can also be ['--branches', '--tags'] |
|
|||
30 | GIT_REV_FILTER = ['--all'] |
|
|||
31 |
|
28 | |||
32 | # Compatibility version when creating SVN repositories. None means newest. |
|
29 | # Compatibility version when creating SVN repositories. None means newest. | |
33 | # Other available options are: pre-1.4-compatible, pre-1.5-compatible, |
|
30 | # Other available options are: pre-1.4-compatible, pre-1.5-compatible, |
@@ -115,7 +115,6 b' class TestSanitizeVcsSettings(object):' | |||||
115 |
|
115 | |||
116 | _string_settings = [ |
|
116 | _string_settings = [ | |
117 | ('vcs.svn.compatible_version', ''), |
|
117 | ('vcs.svn.compatible_version', ''), | |
118 | ('git_rev_filter', '--all'), |
|
|||
119 | ('vcs.hooks.protocol', 'http'), |
|
118 | ('vcs.hooks.protocol', 'http'), | |
120 | ('vcs.hooks.host', '127.0.0.1'), |
|
119 | ('vcs.hooks.host', '127.0.0.1'), | |
121 | ('vcs.scm_app_implementation', 'http'), |
|
120 | ('vcs.scm_app_implementation', 'http'), |
@@ -145,10 +145,6 b' force_https = false' | |||||
145 | ## use Strict-Transport-Security headers |
|
145 | ## use Strict-Transport-Security headers | |
146 | use_htsts = false |
|
146 | use_htsts = false | |
147 |
|
147 | |||
148 | ## git rev filter option, --all is the default filter, if you need to |
|
|||
149 | ## hide all refs in changelog switch this to --branches --tags |
|
|||
150 | git_rev_filter = --all |
|
|||
151 |
|
||||
152 | # Set to true if your repos are exposed using the dumb protocol |
|
148 | # Set to true if your repos are exposed using the dumb protocol | |
153 | git_update_server_info = false |
|
149 | git_update_server_info = false | |
154 |
|
150 |
General Comments 0
You need to be logged in to leave comments.
Login now