changeset 47671:20f366db3e5f

dirstate: drop a duplicated assert This very case is checked in 3 line above that one. Differential Revision: https://phab.mercurial-scm.org/D11126
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 15 Jul 2021 00:27:29 +0200
parents ec1d63e64448
children 0efaa1bbad2b
files mercurial/dirstate.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Thu Jul 15 00:22:49 2021 +0200
+++ b/mercurial/dirstate.py	Thu Jul 15 00:27:29 2021 +0200
@@ -563,7 +563,6 @@
         if merged and (clean_p1 or clean_p2):
             msg = b'`merged` argument incompatible with `clean_p1`/`clean_p2`'
             raise error.ProgrammingError(msg)
-        assert not (merged and (clean_p1 or clean_p1))
         if not (p1_tracked or p2_tracked or wc_tracked):
             self._drop(filename)
         elif merged: