diff rust/hg-cpython/src/dirstate.rs @ 43456:ab9b0a20b9e6

rust-status: remove dead code The `walk_explicit` function is only called when using a prefix matcher, which the Rust code does not yet support. This function will return in a future patch, probably with a different signature for performance reasons. With it, the `files` argument and its interface code can be removed for now. Differential Revision: https://phab.mercurial-scm.org/D7253
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 06 Nov 2019 13:46:16 +0100
parents 478d0b1bf0c5
children 6a88ced33c40
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate.rs	Tue Nov 05 18:32:00 2019 -0500
+++ b/rust/hg-cpython/src/dirstate.rs	Wed Nov 06 13:46:16 2019 +0100
@@ -17,8 +17,8 @@
     dirs_multiset::Dirs, dirstate_map::DirstateMap, status::status_wrapper,
 };
 use cpython::{
-    exc, PyBytes, PyDict, PyErr, PyList, PyModule, PyObject, PyResult,
-    PySequence, Python,
+    exc, PyBytes, PyDict, PyErr, PyModule, PyObject, PyResult, PySequence,
+    Python,
 };
 use hg::{
     utils::hg_path::HgPathBuf, DirstateEntry, DirstateParseError, EntryState,
@@ -116,7 +116,6 @@
             status_wrapper(
                 dmap: DirstateMap,
                 root_dir: PyObject,
-                files: PyList,
                 list_clean: bool,
                 last_normal_time: i64,
                 check_exec: bool