Show More
@@ -61,6 +61,8 b' impl Repo {' | |||
|
61 | 61 | let absolute_root = current_dir()?.join(root); |
|
62 | 62 | if absolute_root.join(".hg").is_dir() { |
|
63 | 63 | Self::new_at_path(absolute_root, config) |
|
64 | } else if absolute_root.is_file() { | |
|
65 | Err(HgError::unsupported("bundle repository").into()) | |
|
64 | 66 | } else { |
|
65 | 67 | Err(RepoError::NotFound { |
|
66 | 68 | at: root.to_owned(), |
General Comments 0
You need to be logged in to leave comments.
Login now