Show More
@@ -431,7 +431,7 b' impl DirstateMap {' | |||
|
431 | 431 | let mut new_file_fold_map = FileFoldMap::default(); |
|
432 | 432 | |
|
433 | 433 | for (filename, DirstateEntry { state, .. }) in self.state_map.iter() { |
|
434 |
if *state |
|
|
434 | if *state != EntryState::Removed { | |
|
435 | 435 | new_file_fold_map |
|
436 | 436 | .insert(normalize_case(&filename), filename.to_owned()); |
|
437 | 437 | } |
@@ -447,7 +447,7 b' impl DirstateMap {' | |||
|
447 | 447 | let mut new_file_fold_map = FileFoldMap::default(); |
|
448 | 448 | |
|
449 | 449 | for (filename, DirstateEntry { state, .. }) in self.state_map.iter() { |
|
450 |
if state |
|
|
450 | if state != EntryState::Removed { | |
|
451 | 451 | new_file_fold_map |
|
452 | 452 | .insert(normalize_case(&filename), filename.to_owned()); |
|
453 | 453 | } |
@@ -350,8 +350,8 b' py_class!(pub class DirstateMap |py| {' | |||
|
350 | 350 | { |
|
351 | 351 | dict.set_item( |
|
352 | 352 | py, |
|
353 |
key.as_bytes(). |
|
|
354 |
value.as_bytes(). |
|
|
353 | PyBytes::new(py, key.as_bytes()).into_object(), | |
|
354 | PyBytes::new(py, value.as_bytes()).into_object(), | |
|
355 | 355 | )?; |
|
356 | 356 | } |
|
357 | 357 | Ok(dict) |
General Comments 0
You need to be logged in to leave comments.
Login now