Mercurial > hg
diff mercurial/dirstatemap.py @ 47899:625b6ddb828c
dirstatemap: use the default code to handle "possibly_dirty" case
This case is quite simple too
Differential Revision: https://phab.mercurial-scm.org/D11324
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 16 Jul 2021 17:10:52 +0200 |
parents | 442711f2c447 |
children | 40cf4b278f8f |
line wrap: on
line diff
--- a/mercurial/dirstatemap.py Fri Jul 16 17:08:41 2021 +0200 +++ b/mercurial/dirstatemap.py Fri Jul 16 17:10:52 2021 +0200 @@ -298,8 +298,7 @@ self.addfile(filename, from_p2=True, possibly_dirty=possibly_dirty) return elif possibly_dirty: - self.addfile(filename, possibly_dirty=possibly_dirty) - return + pass elif wc_tracked: # this is a "normal" file if parentfiledata is None: