equal
deleted
inserted
replaced
91 let data = match rev.parse::<Revision>() { |
91 let data = match rev.parse::<Revision>() { |
92 Ok(rev) => revlog.get_rev_data(rev)?, |
92 Ok(rev) => revlog.get_rev_data(rev)?, |
93 _ => { |
93 _ => { |
94 let node = NodePrefix::from_hex(&rev) |
94 let node = NodePrefix::from_hex(&rev) |
95 .map_err(|_| DebugDataErrorKind::InvalidRevision)?; |
95 .map_err(|_| DebugDataErrorKind::InvalidRevision)?; |
96 let rev = revlog.get_node_rev(node.borrow())?; |
96 let rev = revlog.get_node_rev(node)?; |
97 revlog.get_rev_data(rev)? |
97 revlog.get_rev_data(rev)? |
98 } |
98 } |
99 }; |
99 }; |
100 |
100 |
101 Ok(data) |
101 Ok(data) |