X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=scripts%2Fgit-hg-sub-import;h=9d6ae493ea5c67affa4acdb1dc548238875f83e7;hb=cfa9caf6600913a0abe46bcc26a864e79bbec681;hp=4baf1bcb5bd4b848d29c5be9e191ed7b2a288b17;hpb=d08b48276481596a71c4451b3667cd1de9abc3f7;p=hvutilities.git diff --git a/scripts/git-hg-sub-import b/scripts/git-hg-sub-import index 4baf1bc..9d6ae49 100755 --- a/scripts/git-hg-sub-import +++ b/scripts/git-hg-sub-import @@ -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.