diff -r 5b6190dfb344 -r d0dbae32517c mercurial/commands.py --- a/mercurial/commands.py Fri Feb 08 18:07:55 2008 -0200 +++ b/mercurial/commands.py Fri Feb 08 18:07:55 2008 -0200 @@ -2429,7 +2429,8 @@ if mfentry: # if version of file is same in parent and target # manifests, do nothing - if pmf[abs] != mfentry: + if (pmf[abs] != mfentry or + pmf.flags(abs) != mf.flags(abs)): handle(revert, False) else: handle(remove, False)