Mercurial > hg
changeset 2976:c67920d78248
merge: remove redundant if
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 22 Aug 2006 17:42:55 -0500 |
parents | 31011730f9bd |
children | 87a0332ab58b |
files | mercurial/merge.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/merge.py Tue Aug 22 17:26:44 2006 -0500 +++ b/mercurial/merge.py Tue Aug 22 17:42:55 2006 -0500 @@ -123,8 +123,7 @@ m1.set(f, util.is_exec(repo.wjoin(f), m1.execf(f))) for f in deleted + removed: - if f in m1: - del m1[f] + del m1[f] # If we're jumping between revisions (as opposed to merging), # and if neither the working directory nor the target rev has