equal
deleted
inserted
replaced
1 use crate::errors::{HgError, HgResultExt}; |
1 use crate::errors::{HgError, HgResultExt}; |
2 use crate::repo::{Repo, Vfs}; |
2 use crate::repo::Repo; |
3 use crate::utils::join_display; |
3 use crate::utils::join_display; |
|
4 use crate::vfs::Vfs; |
4 use std::collections::HashSet; |
5 use std::collections::HashSet; |
5 |
6 |
6 fn parse(bytes: &[u8]) -> Result<HashSet<String>, HgError> { |
7 fn parse(bytes: &[u8]) -> Result<HashSet<String>, HgError> { |
7 // The Python code reading this file uses `str.splitlines` |
8 // The Python code reading this file uses `str.splitlines` |
8 // which looks for a number of line separators (even including a couple of |
9 // which looks for a number of line separators (even including a couple of |