--- a/tests/test-commandserver.py Thu Mar 01 17:39:58 2012 +0200
+++ b/tests/test-commandserver.py Thu Mar 01 17:42:49 2012 +0200
@@ -212,6 +212,13 @@
runcommand(server, ['rollback'])
runcommand(server, ['phase', '-r', '.'])
+def branch(server):
+ readchannel(server)
+ runcommand(server, ['branch'])
+ os.system('hg branch foo')
+ runcommand(server, ['branch'])
+ os.system('hg branch default')
+
if __name__ == '__main__':
os.system('hg init')
@@ -232,3 +239,4 @@
check(tagscache)
check(setphase)
check(rollback)
+ check(branch)