43b822330253 — Vesa Norilo 3 years ago
pull incrementally
1 files changed, 5 insertions(+), 1 deletions(-)

M couchbot.py
M couchbot.py +5 -1
@@ 231,9 231,13 @@ while True:
 	# gather branch status
 	branch_status = {}
 
-	print "Checking branch status..."
+	print "Checking branch status..."	
+	popen_str(bot.local, ["hg", "pull -r 300"])
+	popen_str(bot.local, ["hg", "pull -r 600"])
+	popen_str(bot.local, ["hg", "pull -r 900"])
 	popen_str(bot.local, ["hg", "pull"])
 
+
 	branch_status = dict(
 		branch.rsplit(None,1) 
 			for branch in popen_gen(bot.local, ["hg", "branches", "--template", "{branch} {node}\\n"]))