comparison mercurial/debugcommands.py @ 34120:07f09995e857

merge with stable
author Augie Fackler <augie@google.com>
date Tue, 12 Sep 2017 11:18:35 -0400
parents 626a28f30dbd 3c3066367d72
children 902219a99901
comparison
equal deleted inserted replaced
34119:d4a5193332b3 34120:07f09995e857
2083 if pycompat.osname != 'nt': 2083 if pycompat.osname != 'nt':
2084 raise error.Abort(_('certificate chain building is only possible on ' 2084 raise error.Abort(_('certificate chain building is only possible on '
2085 'Windows')) 2085 'Windows'))
2086 2086
2087 if not source: 2087 if not source:
2088 if not repo:
2089 raise error.Abort(_("there is no Mercurial repository here, and no "
2090 "server specified"))
2088 source = "default" 2091 source = "default"
2089 elif not repo:
2090 raise error.Abort(_("there is no Mercurial repository here, and no "
2091 "server specified"))
2092 2092
2093 source, branches = hg.parseurl(ui.expandpath(source)) 2093 source, branches = hg.parseurl(ui.expandpath(source))
2094 url = util.url(source) 2094 url = util.url(source)
2095 addr = None 2095 addr = None
2096 2096