Show More
@@ -524,7 +524,7 b' class HgRemote(RemoteBase):' | |||||
524 | "Verifying if URL is a Mercurial repository: %s", obfuscated_uri) |
|
524 | "Verifying if URL is a Mercurial repository: %s", obfuscated_uri) | |
525 | # Create repo path with custom mercurial path object |
|
525 | # Create repo path with custom mercurial path object | |
526 | ui = make_ui_from_config(config) |
|
526 | ui = make_ui_from_config(config) | |
527 |
repo_path = hg_path(ui=ui, rawloc=safe_bytes( |
|
527 | repo_path = hg_path(ui=ui, rawloc=safe_bytes(url)) | |
528 | peer_checker = make_peer(ui, repo_path, False) |
|
528 | peer_checker = make_peer(ui, repo_path, False) | |
529 | peer_checker.lookup(b'tip') |
|
529 | peer_checker.lookup(b'tip') | |
530 | except Exception as e: |
|
530 | except Exception as e: |
General Comments 0
You need to be logged in to leave comments.
Login now