Mercurial > hg-stable
changeset 6810:8f7a2915170a
localrepo: fix status() typos from 854b907527e5a and 97c12b1ed1e0
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 20 Jul 2008 19:09:00 +0200 |
parents | 89ec85aa6cc3 |
children | 70ecce68df7c |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun Jul 20 19:09:00 2008 +0200 +++ b/mercurial/localrepo.py Sun Jul 20 19:09:00 2008 +0200 @@ -998,9 +998,7 @@ del wlock if not parentworking: - modified, added, clean = [], [], [] mf1 = mfmatches(ctx1) - if working: # we are comparing working dir against non-parent # generate a pseudo-manifest for the working dir @@ -1016,10 +1014,11 @@ deleted, unknown, ignored = [], [], [] mf2 = mfmatches(ctx2) + modified, added, clean = [], [], [] for fn in util.sort(mf2): if fn in mf1: if ((mf1[fn] != mf2[fn] and - (mf2[fn] or ctx1[f].cmp(ctx2[f].data()))) + (mf2[fn] or ctx1[fn].cmp(ctx2[fn].data()))) or mf1.flags(fn) != mf2.flags(fn)): modified.append(fn) elif listclean: