dirstatemap: use the default code to handle "added" case
This one is very easy too.
Differential Revision: https://phab.mercurial-scm.org/D11328
--- a/mercurial/dirstatemap.py Fri Jul 16 17:23:40 2021 +0200
+++ b/mercurial/dirstatemap.py Fri Jul 16 17:29:16 2021 +0200
@@ -271,8 +271,7 @@
self.addfile(filename, from_p2=True)
return
elif not (p1_tracked or p2_tracked) and wc_tracked:
- self.addfile(filename, added=True, possibly_dirty=possibly_dirty)
- return
+ pass # file is added, nothing special to adjust
elif (p1_tracked or p2_tracked) and not wc_tracked:
pass
elif clean_p2 and wc_tracked: