tests/test-commandserver.py
branchstable
changeset 16115 236bb604dc39
parent 16114 acfca07a8f26
child 16116 ce0ad184f489
equal deleted inserted replaced
16114:acfca07a8f26 16115:236bb604dc39
   179 
   179 
   180     # changes .hg/bookmarks.current
   180     # changes .hg/bookmarks.current
   181     os.system('hg upd bm1 -q')
   181     os.system('hg upd bm1 -q')
   182     runcommand(server, ['bookmarks'])
   182     runcommand(server, ['bookmarks'])
   183 
   183 
       
   184     runcommand(server, ['bookmarks', 'bm3'])
       
   185     f = open('a', 'ab')
       
   186     f.write('a\n')
       
   187     f.close()
       
   188     runcommand(server, ['commit', '-Amm'])
       
   189     runcommand(server, ['bookmarks'])
       
   190 
   184 def tagscache(server):
   191 def tagscache(server):
   185     readchannel(server)
   192     readchannel(server)
   186     runcommand(server, ['id', '-t', '-r', '0'])
   193     runcommand(server, ['id', '-t', '-r', '0'])
   187     os.system('hg tag -r 0 foo')
   194     os.system('hg tag -r 0 foo')
   188     runcommand(server, ['id', '-t', '-r', '0'])
   195     runcommand(server, ['id', '-t', '-r', '0'])