Show More
@@ -797,6 +797,12 b' impl Repo {' | |||||
797 | )?, |
|
797 | )?, | |
798 | }) |
|
798 | }) | |
799 | } |
|
799 | } | |
|
800 | ||||
|
801 | pub fn node(&self, rev: UncheckedRevision) -> Option<crate::Node> { | |||
|
802 | self.changelog() | |||
|
803 | .ok() | |||
|
804 | .and_then(|c| c.node_from_rev(rev).copied()) | |||
|
805 | } | |||
800 | } |
|
806 | } | |
801 |
|
807 | |||
802 | /// Lazily-initialized component of `Repo` with interior mutability |
|
808 | /// Lazily-initialized component of `Repo` with interior mutability |
General Comments 0
You need to be logged in to leave comments.
Login now