comparison mercurial/hgweb/__init__.py @ 43117:8ff1ecfadcd1

cleanup: join string literals that are already on one line Thanks to Kyle for noticing this and for providing the regular expression to run on the codebase. This patch has been reviewed by the test suite and they approved of it. # skip-blame: fallout from mass reformatting Differential Revision: https://phab.mercurial-scm.org/D7028
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 08 Oct 2019 15:06:18 -0700
parents 687b865b95ad
children 9f70512ae2cf
comparison
equal deleted inserted replaced
43116:defabf63e969 43117:8ff1ecfadcd1
117 if webconf: 117 if webconf:
118 return hgwebdir_mod.hgwebdir(webconf, baseui=baseui) 118 return hgwebdir_mod.hgwebdir(webconf, baseui=baseui)
119 else: 119 else:
120 if not repo: 120 if not repo:
121 raise error.RepoError( 121 raise error.RepoError(
122 _(b"there is no Mercurial repository" b" here (.hg not found)") 122 _(b"there is no Mercurial repository here (.hg not found)")
123 ) 123 )
124 return hgweb_mod.hgweb(repo, baseui=baseui) 124 return hgweb_mod.hgweb(repo, baseui=baseui)