Show More
@@ -19,6 +19,10 b' pub fn resolve_single(' | |||||
19 | let changelog = repo.changelog()?; |
|
19 | let changelog = repo.changelog()?; | |
20 |
|
20 | |||
21 | match input { |
|
21 | match input { | |
|
22 | "." => { | |||
|
23 | let p1 = repo.dirstate_parents()?.p1; | |||
|
24 | return Ok(changelog.revlog.rev_from_node(p1.into())?); | |||
|
25 | } | |||
22 | "null" => return Ok(NULL_REVISION), |
|
26 | "null" => return Ok(NULL_REVISION), | |
23 | _ => {} |
|
27 | _ => {} | |
24 | } |
|
28 | } |
General Comments 0
You need to be logged in to leave comments.
Login now