diff mercurial/interfaces/dirstate.py @ 47539:84391ddf4c78

dirstate-item: rename the class to DirstateItem The object is no longer a tuple, so it seems clearer to rename it (and its associated method) Differential Revision: https://phab.mercurial-scm.org/D10982
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 04 Jul 2021 22:27:29 +0200
parents 1766130fe9ba
children f89ac1ed2bc6
line wrap: on
line diff
--- a/mercurial/interfaces/dirstate.py	Sun Jul 04 02:37:38 2021 +0200
+++ b/mercurial/interfaces/dirstate.py	Sun Jul 04 22:27:29 2021 +0200
@@ -84,7 +84,7 @@
         """Iterate the dirstate's contained filenames as bytestrings."""
 
     def items():
-        """Iterate the dirstate's entries as (filename, dirstatetuple).
+        """Iterate the dirstate's entries as (filename, DirstateItem.
 
         As usual, filename is a bytestring.
         """