##// END OF EJS Templates
rust-revset: support explicit `.` revision...
Raphaël Gomès -
r48893:3da7bf75 default
parent child Browse files
Show More
@@ -19,6 +19,10 b' pub fn resolve_single('
19 19 let changelog = repo.changelog()?;
20 20
21 21 match input {
22 "." => {
23 let p1 = repo.dirstate_parents()?.p1;
24 return Ok(changelog.revlog.rev_from_node(p1.into())?);
25 }
22 26 "null" => return Ok(NULL_REVISION),
23 27 _ => {}
24 28 }
General Comments 0
You need to be logged in to leave comments. Login now