equal
deleted
inserted
replaced
2076 if pycompat.osname != 'nt': |
2076 if pycompat.osname != 'nt': |
2077 raise error.Abort(_('certificate chain building is only possible on ' |
2077 raise error.Abort(_('certificate chain building is only possible on ' |
2078 'Windows')) |
2078 'Windows')) |
2079 |
2079 |
2080 if not source: |
2080 if not source: |
|
2081 if not repo: |
|
2082 raise error.Abort(_("there is no Mercurial repository here, and no " |
|
2083 "server specified")) |
2081 source = "default" |
2084 source = "default" |
2082 elif not repo: |
|
2083 raise error.Abort(_("there is no Mercurial repository here, and no " |
|
2084 "server specified")) |
|
2085 |
2085 |
2086 source, branches = hg.parseurl(ui.expandpath(source)) |
2086 source, branches = hg.parseurl(ui.expandpath(source)) |
2087 url = util.url(source) |
2087 url = util.url(source) |
2088 addr = None |
2088 addr = None |
2089 |
2089 |