Remove unnecessary spaces quoting
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 23 Jul 2014 19:05:11 +0000 (15:05 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 23 Jul 2014 19:05:11 +0000 (15:05 -0400)
scripts/git-hg-sub-import

index 4baf1bc..9d6ae49 100755 (executable)
@@ -31,13 +31,10 @@ hg_parse_projrc() {
     fi
 
     # Repo name can have spaces in it, hence the use of ${*}
-    local repo_orig="${*}"
     local repo="${*}"
 
-    # Quote spaces
-    repo=${repo// /\\\\ }
-
     if [ -f "${repo}/.hg/projrc" ]; then
+
         TMPF="/tmp/$(basename $0).projrc-$$.tmp"
 
         # Create temporary copy to replace backslashes with slashes.