##// END OF EJS Templates
configitems: register the 'web.view' config
Boris Feld -
r34585:bf2389b1 default
parent child Browse files
Show More
@@ -748,6 +748,9 b" coreconfigitem('web', 'style',"
748 748 coreconfigitem('web', 'templates',
749 749 default=None,
750 750 )
751 coreconfigitem('web', 'view',
752 default='served',
753 )
751 754 coreconfigitem('worker', 'backgroundclose',
752 755 default=dynamicdefault,
753 756 )
@@ -482,8 +482,8 b' def getwebview(repo):'
482 482
483 483 The option has been around undocumented since Mercurial 2.5, but no
484 484 user ever asked about it. So we better keep it undocumented for now."""
485 viewconfig = repo.ui.config('web', 'view', 'served',
486 untrusted=True)
485 # experimental config: web.view
486 viewconfig = repo.ui.config('web', 'view', untrusted=True)
487 487 if viewconfig == 'all':
488 488 return repo.unfiltered()
489 489 elif viewconfig in repoview.filtertable:
General Comments 0
You need to be logged in to leave comments. Login now