ref: ebf43c0a0b6a7c84514af80b7e0e16298a488e3c
parent: 9d3bc1646915d7e7a69dcf614690fdcec6e6aa7a
author: cinap_lenrek <[email protected]>
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