changeset 4206:65aabd9f16f0

Refresh file size after partial qrefresh. This makes a subsequent hg revert; hg status work.
author Brendan Cully <brendan@kublai.com>
date Tue, 13 Mar 2007 16:27:34 -0700
parents 7ca05d29c1f0
children b7e66db28571
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Sun Mar 11 14:21:09 2007 -0700
+++ b/hgext/mq.py	Tue Mar 13 16:27:34 2007 -0700
@@ -1070,7 +1070,7 @@
                     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: