dirstate: Remove unused variable
authorSimon Sapin <simon.sapin@octobus.net>
Thu, 14 Oct 2021 13:59:18 +0200
changeset 48228 50dca3aa5c3b
parent 48227 4518d91f02d8
child 48229 db5897321351
dirstate: Remove unused variable This fixes test-check-pyflakes.t which is currently failing on the default branch. Differential Revision: https://phab.mercurial-scm.org/D11658
mercurial/dirstateutils/v2.py
--- a/mercurial/dirstateutils/v2.py	Thu Oct 14 13:58:25 2021 +0200
+++ b/mercurial/dirstateutils/v2.py	Thu Oct 14 13:59:18 2021 +0200
@@ -149,7 +149,6 @@
         else:
             # There are no mtime-cached directories in the Python implementation
             flags = 0
-            mode = 0
             size = 0
             mtime_s = 0
             mtime_ns = 0