##// END OF EJS Templates
rcextensions: improve example
milka -
r4603:42274a1d stable
parent child Browse files
Show More
@@ -46,7 +46,7 b' def _pre_push_hook(*args, **kwargs):'
46 # e.g store a list of patterns to be forbidden e.g `*.exe, *.dump`
46 # e.g store a list of patterns to be forbidden e.g `*.exe, *.dump`
47 forbid_files = extra_fields.get_field(repo_extra_fields, key='forbid_files_glob',
47 forbid_files = extra_fields.get_field(repo_extra_fields, key='forbid_files_glob',
48 convert_type=False, default=[])
48 convert_type=False, default=[])
49 forbid_files = aslist(forbid_files)
49 forbid_files = aslist(forbid_files, sep=',')
50
50
51 # forbid_files = ['*'] # example pattern
51 # forbid_files = ['*'] # example pattern
52
52
General Comments 0
You need to be logged in to leave comments. Login now