equal
deleted
inserted
replaced
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 |