1 |
#!/bin/sh |
2 |
|
3 |
( |
4 |
|
5 |
ls -d */CVS | sed 's#/CVS##' | while read rep ; do |
6 |
echo "update $rep [cvs]" |
7 |
cd $rep && cvs -q -z3 update -d || echo "FATAL ERROR!" |
8 |
cd - |
9 |
done |
10 |
|
11 |
ls -d */.svn | sed 's#/.svn##' | while read rep ; do |
12 |
echo "update $rep [svn]" |
13 |
cd $rep && svn update || echo "FATAL ERROR!" |
14 |
cd - |
15 |
done |
16 |
|
17 |
ls -d */.git | sed 's#/.git##' | while read rep ; do |
18 |
echo "update $rep [git]" |
19 |
cd $rep && git pull || ./update.sh || echo "FATAL ERROR!" |
20 |
cd - |
21 |
done |
22 |
|
23 |
ls -d */_darcs | sed 's#/_darcs##' | while read rep ; do |
24 |
echo "update $rep [darcs]" |
25 |
cd $rep && darcs pull -a || echo "FATAL ERROR!" |
26 |
cd - |
27 |
done |
28 |
|
29 |
ls -d */.bzr | sed 's#/.bzr##' | while read rep ; do |
30 |
echo "update $rep [bzr]" |
31 |
cd $rep && bzr update || echo "FATAL ERROR!" |
32 |
cd - |
33 |
done |
34 |
|
35 |
ls -d */.hg | sed 's#/.hg##' | while read rep ; do |
36 |
echo "update $rep [mercurial]" |
37 |
cd $rep && hg pull && hg update || echo "FATAL ERROR!" |
38 |
cd - |
39 |
done |
40 |
|
41 |
) 2>&1 | tee log | grep -v '^?' |