ref: d38d52391a0585b72b6ee08d4df40bbb5159fe9f
parent: e3e394b4d60c3ce5b1db89b0d9dbcf009de198e9
author: cinap_lenrek <[email protected]>
date: Sat Mar 3 13:06:40 EST 2012
sysupdate: namespace side effects, show what files are getting updated
--- a/rc/bin/sysupdate
+++ b/rc/bin/sysupdate
@@ -1,5 +1,6 @@
#!/bin/rc
-
-bind -ac /dist/plan9front /
-hg incoming
-hg pull && hg update
+rfork n
+cd /
+if(! test -d .hg)
+ bind -ac /dist/plan9front /
+hg incoming && hg pull && hg -v update