# HG changeset patch # User aph # Date 1396632877 -3600 # Node ID faceb8904d1b92b1e26ef05f9a0407b9fb13698b # Parent ff115bc0aa2b721f1266a868ef341243f7a0c136 Red Hat local: Fix for repo with path statting with / . diff -r ff115bc0aa2b -r faceb8904d1b common/bin/hgforest.sh --- a/common/bin/hgforest.sh Fri Oct 11 15:20:13 2013 -0700 +++ b/common/bin/hgforest.sh Fri Apr 04 18:34:37 2014 +0100 @@ -144,7 +144,8 @@ ( ( if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" + pull_newrepo="${pull_base}/${i}" + # pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" echo hg clone ${pull_newrepo} ${i} path="`dirname ${i}`" if [ "${path}" != "." ] ; then