# HG changeset patch # User Christopher Rogers # Date 1304641962 0 # Node ID 376b4faafced13c382178e3c349809aa6e3fb124 # Parent 7bc8e3987a8380b66c16a5f1d8b695bced2b6292 Add a if statement to check if your in in cooking branch of my-wok before updating it. diff -r 7bc8e3987a83 -r 376b4faafced mkiso.sh --- a/mkiso.sh Tue May 03 08:06:31 2011 +0000 +++ b/mkiso.sh Fri May 06 00:32:42 2011 +0000 @@ -488,7 +488,9 @@ WOK=${HG_DIR}/my-wok/repos/my-wok if [ -d $WOK/.hg ]; then cd $WOK - hg update cooking + if [ "$(hg branch)" != "cooking" ]; then + hg update cooking + fi cd $PROFILE fi squashfs_hg $my_hg