Mercurial > hg
changeset 7569:89207edf3973
correctly update dirstate after update+mode change (issue1456)
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 07 Jan 2009 02:11:17 +0100 |
parents | 12df451ce205 |
children | 560e3e882aba 069b29656401 |
files | mercurial/merge.py tests/test-up-issue1456 tests/test-up-issue1456.out |
diffstat | 3 files changed, 22 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/merge.py Tue Jan 06 10:30:22 2009 +0100 +++ b/mercurial/merge.py Wed Jan 07 02:11:17 2009 +0100 @@ -369,7 +369,9 @@ repo.dirstate.forget(f) elif m == "f": # forget repo.dirstate.forget(f) - elif m in "ge": # get or exec change + elif m == "e": # exec change + repo.dirstate.normaldirty(f) + elif m == "g": # get if branchmerge: repo.dirstate.normaldirty(f) else: