Show More
@@ -186,10 +186,6 b' force_https = false' | |||
|
186 | 186 | ## use Strict-Transport-Security headers |
|
187 | 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 | 189 | # Set to true if your repos are exposed using the dumb protocol |
|
194 | 190 | git_update_server_info = false |
|
195 | 191 |
@@ -161,10 +161,6 b' force_https = false' | |||
|
161 | 161 | ## use Strict-Transport-Security headers |
|
162 | 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 | 164 | # Set to true if your repos are exposed using the dumb protocol |
|
169 | 165 | git_update_server_info = false |
|
170 | 166 |
@@ -572,7 +572,6 b' def _sanitize_vcs_settings(settings):' | |||
|
572 | 572 | settings. |
|
573 | 573 | """ |
|
574 | 574 | _string_setting(settings, 'vcs.svn.compatible_version', '') |
|
575 | _string_setting(settings, 'git_rev_filter', '--all') | |
|
576 | 575 | _string_setting(settings, 'vcs.hooks.protocol', 'http') |
|
577 | 576 | _string_setting(settings, 'vcs.hooks.host', '127.0.0.1') |
|
578 | 577 | _string_setting(settings, 'vcs.scm_app_implementation', 'http') |
@@ -41,7 +41,6 b' def configure_vcs(config):' | |||
|
41 | 41 | conf.settings.HOOKS_PROTOCOL = config['vcs.hooks.protocol'] |
|
42 | 42 | conf.settings.HOOKS_HOST = config['vcs.hooks.host'] |
|
43 | 43 | conf.settings.HOOKS_DIRECT_CALLS = config['vcs.hooks.direct_calls'] |
|
44 | conf.settings.GIT_REV_FILTER = shlex.split(config['git_rev_filter']) | |
|
45 | 44 | conf.settings.DEFAULT_ENCODINGS = config['default_encoding'] |
|
46 | 45 | conf.settings.ALIASES[:] = config['vcs.backends'] |
|
47 | 46 | conf.settings.SVN_COMPATIBLE_VERSION = config['vcs.svn.compatible_version'] |
@@ -25,9 +25,6 b' Internal settings for vcs-lib' | |||
|
25 | 25 | # list of default encoding used in safe_unicode/safe_str methods |
|
26 | 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 | 29 | # Compatibility version when creating SVN repositories. None means newest. |
|
33 | 30 | # Other available options are: pre-1.4-compatible, pre-1.5-compatible, |
@@ -115,7 +115,6 b' class TestSanitizeVcsSettings(object):' | |||
|
115 | 115 | |
|
116 | 116 | _string_settings = [ |
|
117 | 117 | ('vcs.svn.compatible_version', ''), |
|
118 | ('git_rev_filter', '--all'), | |
|
119 | 118 | ('vcs.hooks.protocol', 'http'), |
|
120 | 119 | ('vcs.hooks.host', '127.0.0.1'), |
|
121 | 120 | ('vcs.scm_app_implementation', 'http'), |
@@ -145,10 +145,6 b' force_https = false' | |||
|
145 | 145 | ## use Strict-Transport-Security headers |
|
146 | 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 | 148 | # Set to true if your repos are exposed using the dumb protocol |
|
153 | 149 | git_update_server_info = false |
|
154 | 150 |
General Comments 0
You need to be logged in to leave comments.
Login now