From d27635bbe5a84fcd1b9f1ac5deca44f46e7d0892 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Fri, 28 Jun 2013 16:55:59 -0400 Subject: [PATCH] git-hg-sub-import: Affiche les traces pour subpaths seulement en mode debug --- scripts/git-hg-sub-import | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/git-hg-sub-import b/scripts/git-hg-sub-import index 64b1035..9789578 100755 --- a/scripts/git-hg-sub-import +++ b/scripts/git-hg-sub-import @@ -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 } -- 2.20.1