git-hg-sub-import: Affiche les traces pour subpaths seulement en mode debug
[hvutilities.git] / scripts / git-hg-sub-import
index 64b1035..9789578 100755 (executable)
@@ -24,8 +24,10 @@ hg_subpaths_config() {
         sp_src=${sp_src//\\/} # Remove windows separator (LSI)
         sp_dst=${subpaths//*=/}
 
-        echo "sp_src = $sp_src"
-        echo "sp_dst = $sp_dst"
+        if [ -n "${debug}" ]; then
+            echo "sp_src = $sp_src"
+            echo "sp_dst = $sp_dst"
+        fi
     fi
 }