From d38d52391a0585b72b6ee08d4df40bbb5159fe9f Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 3 Mar 2012 18:06:40 +0100 Subject: sysupdate: namespace side effects, show what files are getting updated --- rc/bin/sysupdate | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rc/bin/sysupdate b/rc/bin/sysupdate index 0f2648ef9..663844961 100755 --- 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 -- cgit v1.2.3