# HG changeset patch # User Siddharth Agarwal # Date 2015-11-24 23:26:51 # Node ID baa7571f40c5f134d9639e4193fbaedb58e6c3f4 # Parent d837da26155e759257902a8cd1c187d510956fb3 merge.recordupdates: mark 'a' files as added unconditionally See the previous patch for why we do this. diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -1195,8 +1195,7 @@ def recordupdates(repo, actions, branchm # re-add for f, args, msg in actions.get('a', []): - if not branchmerge: - repo.dirstate.add(f) + repo.dirstate.add(f) # re-add/mark as modified for f, args, msg in actions.get('am', []):