##// END OF EJS Templates
rust-dirstate: use PARENT_SIZE constant where appropriate
Yuya Nishihara -
r43066:99dff426 default
parent child Browse files
Show More
@@ -258,7 +258,7 impl DirstateMap {
258 return Ok(parents.clone());
258 return Ok(parents.clone());
259 }
259 }
260 let parents;
260 let parents;
261 if file_contents.len() == 40 {
261 if file_contents.len() == PARENT_SIZE * 2 {
262 parents = DirstateParents {
262 parents = DirstateParents {
263 p1: copy_into_array(&file_contents[..PARENT_SIZE]),
263 p1: copy_into_array(&file_contents[..PARENT_SIZE]),
264 p2: copy_into_array(
264 p2: copy_into_array(
General Comments 0
You need to be logged in to leave comments. Login now