equal
deleted
inserted
replaced
915 debug_assert!(!was_tracked); |
915 debug_assert!(!was_tracked); |
916 } |
916 } |
917 Ok(()) |
917 Ok(()) |
918 } |
918 } |
919 |
919 |
920 fn clear_ambiguous_times( |
|
921 &mut self, |
|
922 filenames: Vec<HgPathBuf>, |
|
923 now: i32, |
|
924 ) -> Result<(), DirstateV2ParseError> { |
|
925 for filename in filenames { |
|
926 if let Some(node) = Self::get_node_mut( |
|
927 self.on_disk, |
|
928 &mut self.unreachable_bytes, |
|
929 &mut self.root, |
|
930 &filename, |
|
931 )? { |
|
932 if let NodeData::Entry(entry) = &mut node.data { |
|
933 entry.clear_ambiguous_mtime(now); |
|
934 } |
|
935 } |
|
936 } |
|
937 Ok(()) |
|
938 } |
|
939 |
|
940 fn non_normal_entries_contains( |
920 fn non_normal_entries_contains( |
941 &mut self, |
921 &mut self, |
942 key: &HgPath, |
922 key: &HgPath, |
943 ) -> Result<bool, DirstateV2ParseError> { |
923 ) -> Result<bool, DirstateV2ParseError> { |
944 Ok(if let Some(node) = self.get_node(key)? { |
924 Ok(if let Some(node) = self.get_node(key)? { |