changeset 899:faceb8904d1b

Red Hat local: Fix for repo with path statting with / .
author aph
date Fri, 04 Apr 2014 18:34:37 +0100
parents ff115bc0aa2b
children 13970e76b784
files common/bin/hgforest.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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