diff tests/test-commandserver.py @ 16114:acfca07a8f26 stable

cmdserver: invalidate the dirstate when running commands (issue3271) The dirstate is invalidated separately outside of invalidate() which is already being called (other callers of invalidate() seems to suggest the separation is there for a reason).
author Idan Kamara <idankk86@gmail.com>
date Wed, 15 Feb 2012 23:44:10 +0200
parents 6548a2e32285
children 236bb604dc39
line wrap: on
line diff
--- a/tests/test-commandserver.py	Wed Feb 15 23:49:15 2012 +0200
+++ b/tests/test-commandserver.py	Wed Feb 15 23:44:10 2012 +0200
@@ -163,8 +163,10 @@
     f = open('a', 'ab')
     f.write('a\n')
     f.close()
+    runcommand(server, ['status'])
     os.system('hg ci -Am2')
     runcommand(server, ['tip'])
+    runcommand(server, ['status'])
 
 def bookmarks(server):
     readchannel(server)