Show More
@@ -1,6 +1,6 b'' | |||
|
1 | 1 | use crate::errors::HgError; |
|
2 | use crate::revlog::Revision; | |
|
2 | 3 | use crate::revlog::{Node, NodePrefix}; |
|
3 | use crate::revlog::{Revision, NULL_REVISION}; | |
|
4 | 4 | use crate::revlog::{Revlog, RevlogEntry, RevlogError}; |
|
5 | 5 | use crate::utils::hg_path::HgPath; |
|
6 | 6 | use crate::vfs::Vfs; |
@@ -51,9 +51,6 b' impl Changelog {' | |||
|
51 | 51 | &self, |
|
52 | 52 | rev: Revision, |
|
53 | 53 | ) -> Result<ChangelogRevisionData, RevlogError> { |
|
54 | if rev == NULL_REVISION { | |
|
55 | return Ok(ChangelogRevisionData::null()); | |
|
56 | } | |
|
57 | 54 | self.entry_for_rev(rev)?.data() |
|
58 | 55 | } |
|
59 | 56 |
General Comments 0
You need to be logged in to leave comments.
Login now