Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/filtermaster/files/update_repos.sh

Issue 6029451183783936: Add Filtermaster (Closed)
Patch Set: Finishing Filtermaster and Testing Created Nov. 11, 2013, 1:27 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/filtermaster/files/update_repos.sh
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/filtermaster/files/update_repos.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+cd /home/rsync/subscription/
+
+for i in $(ls)
+do
+ cd $i
+ hg pull && hg update
+ cd -
Wladimir Palant 2013/11/12 13:04:03 These four commands can be replaced by one: hg pu
christian 2013/11/12 16:06:06 Done.
+done
Wladimir Palant 2013/11/12 13:04:03 I thought by "batch script" you actually meant Pyt
christian 2013/11/12 16:06:06 I think i sad "bash script" but sometimes hard und
+

Powered by Google App Engine
This is Rietveld