diff --git a/common/bin/hgforest.sh b/common/bin/hgforest.sh index ff0bcdfb0f0..7320aa09a11 100644 --- a/common/bin/hgforest.sh +++ b/common/bin/hgforest.sh @@ -335,7 +335,10 @@ else for j in ${repos_extra} ; do if [ "${i}" = "${j}" ] ; then # it's an "extra" - pull_base="${pull_extra}" + if [ -n "${pull_extra}" ]; then + # if no pull_extra is defined, assume that pull_default is valid + pull_base="${pull_extra}" + fi fi done