8 if(! test -d /dist/plan9front/.git){
9 >[1=2] echo 'end of line for hg: moving to git.'
12 if(! test -f /bin/git/pull){
13 >[1=2] echo 'git is required:'
14 >[1=2] echo ' cd /sys/src/cmd/git && mk install'
18 >[1=2] echo ' fetching snapshot...'
20 hget http://git.9front.org/static/plan9front-seed.tar.gz | tar xz
25 >[1=2] echo ' pulling with git...'
30 bind -ac /dist/plan9front /
31 git/pull -u gits://git.9front.org/plan9front/plan9front
34 >[1=2] echo 'got git: you may remove /dist/plan9front/.hg'