Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions git-svn-clone-externals
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ function is_excluded()


git svn show-externals|grep -vE '#|^$'| \
sed 's/\(-r\)[ ]*\([0-9]\{1,\}\)/\1\2/'|while read -a words
sed 's/\(\S*\)\s*\(-r\)\s*\([0-9]\{1,\}\)/\1 \2\3/'|while read -a words
do
[ -z "${words[*]}" ] && continue

local_directory="$(echo ${words[0]}|sed 's,^/,,')"
local_directory="$(echo ${words[0]}${words[3]}|sed 's,^/,,')"
revision=""
remote_url="${words[1]}"

Expand Down