##// END OF EJS Templates
test-commandserver: test that phase data is being refreshed
Idan Kamara -
r15989:6548a2e3 stable
parent child Browse files
Show More
@@ -185,6 +185,12 b' def tagscache(server):'
185 os.system('hg tag -r 0 foo')
185 os.system('hg tag -r 0 foo')
186 runcommand(server, ['id', '-t', '-r', '0'])
186 runcommand(server, ['id', '-t', '-r', '0'])
187
187
188 def setphase(server):
189 readchannel(server)
190 runcommand(server, ['phase', '-r', '.'])
191 os.system('hg phase -r . -p')
192 runcommand(server, ['phase', '-r', '.'])
193
188 if __name__ == '__main__':
194 if __name__ == '__main__':
189 os.system('hg init')
195 os.system('hg init')
190
196
@@ -203,3 +209,4 b" if __name__ == '__main__':"
203 check(outsidechanges)
209 check(outsidechanges)
204 check(bookmarks)
210 check(bookmarks)
205 check(tagscache)
211 check(tagscache)
212 check(setphase)
@@ -118,3 +118,10 b' testing tagscache:'
118
118
119 runcommand id -t -r 0
119 runcommand id -t -r 0
120 foo
120 foo
121
122 testing setphase:
123
124 runcommand phase -r .
125 2: draft
126 runcommand phase -r .
127 2: public
General Comments 0
You need to be logged in to leave comments. Login now