Patchwork D11666: dirstate-v2: delete unused variable (to make test-check-pyflakes.t happy)

login
register
mail settings
Submitter phabricator
Date Oct. 14, 2021, 8:11 p.m.
Message ID <differential-rev-PHID-DREV-lwsfgz635yppzzo2defm-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49989/
State Superseded
Headers show

Comments

phabricator - Oct. 14, 2021, 8:11 p.m.
martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11666

AFFECTED FILES
  mercurial/dirstateutils/v2.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/dirstateutils/v2.py b/mercurial/dirstateutils/v2.py
--- a/mercurial/dirstateutils/v2.py
+++ b/mercurial/dirstateutils/v2.py
@@ -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