ref: 903d85dbf06f7f00e63255faa8968807af6251eb
parent: b8cff4b3db8acb04a37110942834449088b8f829
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jun 6 20:11:47 EDT 2015
sysupdate: change source repo to https://code.9front.org/hg/plan9front code.google.com is shutting down, the new repository is on code.9front.org.
--- a/rc/bin/sysupdate
+++ b/rc/bin/sysupdate
@@ -1,5 +1,6 @@
#!/bin/rc
-rfork n
+rfork en
+source=https://code.9front.org/hg/plan9front
cd /
if(! test -d .hg)
bind -ac /dist/plan9front /
@@ -6,7 +7,7 @@
while(! ~ $#* 0){ switch($1){case -i
- hg incoming
+ hg incoming $source
case *
echo usage: sysupdate '[-i]' >[1=2]
exit usage
@@ -13,4 +14,4 @@
}
shift
}
-hg -v pull -u
+hg -v pull -u $source
--
⑨