##// END OF EJS Templates
rhg: Fall back to Python for bundle repositories...
Simon Sapin -
r47464:dfd35823 default
parent child Browse files
Show More
@@ -61,6 +61,8 b' impl Repo {'
61 let absolute_root = current_dir()?.join(root);
61 let absolute_root = current_dir()?.join(root);
62 if absolute_root.join(".hg").is_dir() {
62 if absolute_root.join(".hg").is_dir() {
63 Self::new_at_path(absolute_root, config)
63 Self::new_at_path(absolute_root, config)
64 } else if absolute_root.is_file() {
65 Err(HgError::unsupported("bundle repository").into())
64 } else {
66 } else {
65 Err(RepoError::NotFound {
67 Err(RepoError::NotFound {
66 at: root.to_owned(),
68 at: root.to_owned(),
General Comments 0
You need to be logged in to leave comments. Login now