author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Thu, 08 Jul 2021 01:20:46 +0200 | |
changeset 47596 | 791e2333d3d3 |
parent 47595 | 14e2f4bd5f16 |
child 47597 | 4b76f5ca79c4 |
--- a/mercurial/cmdutil.py Thu Jul 08 00:57:25 2021 +0200 +++ b/mercurial/cmdutil.py Thu Jul 08 01:20:46 2021 +0200 @@ -3686,7 +3686,7 @@ if f not in newlyaddedandmodifiedfiles: prntstatusmsg(b'add', f) checkout(f) - repo.dirstate.add(f) + repo.dirstate.set_tracked(f) normal = repo.dirstate.normallookup if node == parent and p2 == repo.nullid: