Show More
@@ -76,7 +76,8 b' impl Revlog {' | |||||
76 | Some(index_mmap) => { |
|
76 | Some(index_mmap) => { | |
77 | let version = get_version(&index_mmap)?; |
|
77 | let version = get_version(&index_mmap)?; | |
78 | if version != 1 { |
|
78 | if version != 1 { | |
79 |
// A proper new version should have had a repo/store |
|
79 | // A proper new version should have had a repo/store | |
|
80 | // requirement. | |||
80 | return Err(HgError::corrupted("corrupted revlog")); |
|
81 | return Err(HgError::corrupted("corrupted revlog")); | |
81 | } |
|
82 | } | |
82 |
|
83 |
General Comments 0
You need to be logged in to leave comments.
Login now