cookutils rev 41

cooker: we may want to use a personal repo not updated online
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 07 02:17:06 2011 +0200 (2011-05-07)
parents 12fe3e17e20a
children 49f9b134c2a9
files cooker
line diff
     1.1 --- a/cooker	Sat May 07 02:14:20 2011 +0200
     1.2 +++ b/cooker	Sat May 07 02:17:06 2011 +0200
     1.3 @@ -350,7 +350,7 @@
     1.4  		cur=$(hg head --template '{rev}\n')
     1.5  		echo "Updating Hg wok: ${wok}-hg" | log
     1.6  		echo "hg:pull" > $command
     1.7 -		cd ${wok}-hg && hg pull -u | log_commits
     1.8 +		[ -f "${wok}-hg/.hg/hgrc" ] && cd ${wok}-hg && hg pull -u | log_commits
     1.9  		new=$(hg head --template '{rev}\n')
    1.10  		
    1.11  		# Sync build wok with rsync so we dont take care about removing old