Patchwork D6433: match: remove an obsolete comment about util.finddirs()

login
register
mail settings
Submitter phabricator
Date May 22, 2019, 9:26 p.m.
Message ID <differential-rev-PHID-DREV-abmx74sfbrbdu2f7uppv-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/40195/
State Superseded
Headers show

Comments

phabricator - May 22, 2019, 9:26 p.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Obsolete since 8e55c0c642c (util: make util.dirs() and util.finddirs()
  include root directory (API), 2017-05-16).

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/match.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/match.py b/mercurial/match.py
--- a/mercurial/match.py
+++ b/mercurial/match.py
@@ -586,7 +586,6 @@ 
         # yields (dirname, basename) tuples, walking back to the root.  This is
         # very similar to util.finddirs, except:
         #  - produces a (dirname, basename) tuple, not just 'dirname'
-        #  - includes root dir
         # Unlike manifest._splittopdir, this does not suffix `dirname` with a
         # slash.
         oldpos = len(path)