# HG changeset patch # User Brendan Cully # Date 2007-03-13 23:27:34 # Node ID 65aabd9f16f0124c0783e6bc8e56f68e36dd663e # Parent 7ca05d29c1f06d53b347c468bb113027f4d8dc41 Refresh file size after partial qrefresh. This makes a subsequent hg revert; hg status work. diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -1070,7 +1070,7 @@ class queue: mm.append(m[i]) del m[i] repo.dirstate.update(m, 'n') - repo.dirstate.update(mm, 'n', st_mtime=0) + repo.dirstate.update(mm, 'n', st_mtime=-1, st_size=-1) repo.dirstate.forget(forget) if not msg: